npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

map.prototype.tojson

0.1.3

@hemanth

npmHomeRepoSnykSocket
Downloads:3237
$ npm install map.prototype.tojson
DailyWeeklyMonthlyYearly

map.prototype.tojson Build Status

ES7 map.prototype.tojson polyfill

Install

$ npm install --save map.prototype.tojson

Usage

require('map.prototype.tojson');
var myMap = new Map();
myMap.set(NaN, "not a number");

console.log(myMap.toJSON()); // {"NaN":"not a number"}

License

MIT © hemanth