1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 08:10:18 +00:00
musix-oss/node_modules/json-bigint/index.js
2020-03-03 22:30:50 +02:00

13 lines
409 B
JavaScript

var json_stringify = require('./lib/stringify.js').stringify;
var json_parse = require('./lib/parse.js');
module.exports = function(options) {
return {
parse: json_parse(options),
stringify: json_stringify
}
};
//create the default method members with no options applied for backwards compatibility
module.exports.parse = json_parse();
module.exports.stringify = json_stringify;