{"_id":"@agadev/ajson","_rev":"1-80d0d6147879820f011be13b35a93519","name":"@agadev/ajson","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@agadev/ajson","version":"1.0.0","description":"This is a library for manage ajsons","main":"lib/index.js","module":"lib/index.mjs","repository":{"type":"git","url":"git+https://github.com/AgaDevInc/AJSON.git"},"keywords":["json","ajson","aga"],"author":{"name":"AgaDev"},"license":"ISC","bugs":{"url":"https://github.com/AgaDevInc/AJSON/issues"},"homepage":"https://github.com/AgaDevInc/AJSON#readme","_id":"@agadev/ajson@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-IBRPoP7Z/kP6/8eiAjI9BURLNJUsHtjdFX1wnETd1KGrIXOAWGPXLEPpe2I2GtcrQBZCU4Zjn5hs7LlOwKBSjg==","shasum":"957dada961995a1de91b5d788e8460ff6019e97e","tarball":"https://registry.npmjs.org/@agadev/ajson/-/ajson-1.0.0.tgz","fileCount":4,"unpackedSize":4089,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9iX9TMejgm8V5YbbG4akzubeB+zBdn/6JokS3JrGumgIgLK/qNMni6kShGNAkPQ9yv9lo3s4dWmWJKrB9hw5P18c="}]},"_npmUser":{"name":"agacraft","email":"agacraft.addons@gmail.com"},"directories":{},"maintainers":[{"name":"agacraft","email":"agacraft.addons@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ajson_1.0.0_1690383636332_0.5793789026546623"},"_hasShrinkwrap":false},"1.0.1":{"name":"@agadev/ajson","version":"1.0.1","description":"This is a library for manage ajsons","main":"lib/index.js","module":"lib/index.mjs","repository":{"type":"git","url":"git+https://github.com/AgaDevInc/AJSON.git"},"keywords":["json","ajson","aga"],"author":{"name":"AgaDev"},"license":"ISC","bugs":{"url":"https://github.com/AgaDevInc/AJSON/issues"},"homepage":"https://github.com/AgaDevInc/AJSON#readme","gitHead":"28506b2846d02e474ba0a75136fc45eefbfe2ab2","_id":"@agadev/ajson@1.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-5LdLBXLtNKdBLePXwFntpuHgkSi4rPGJvQNVB7G8AXCQ71V8uBc+wAM4YNy/S4bQ2rcvAH1VhO1sGUWbIqS1DQ==","shasum":"7beb5e4c4c8d53f3d9117afd3e983fc6470c2c7d","tarball":"https://registry.npmjs.org/@agadev/ajson/-/ajson-1.0.1.tgz","fileCount":5,"unpackedSize":4971,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqOBb/zw5fKehqujRpbizDPCbWod3Qi4JGq+Xa80BcpAiAsApihNZELK9uYacQImViB07YbDBx7M1ihc0fNsl4G/Q=="}]},"_npmUser":{"name":"agacraft","email":"agacraft.addons@gmail.com"},"directories":{},"maintainers":[{"name":"agacraft","email":"agacraft.addons@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ajson_1.0.1_1690518108463_0.23656046899966277"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-26T15:00:36.213Z","1.0.0":"2023-07-26T15:00:36.509Z","modified":"2023-07-28T04:21:48.741Z","1.0.1":"2023-07-28T04:21:48.620Z"},"maintainers":[{"name":"agacraft","email":"agacraft.addons@gmail.com"}],"description":"This is a library for manage ajsons","homepage":"https://github.com/AgaDevInc/AJSON#readme","keywords":["json","ajson","aga"],"repository":{"type":"git","url":"git+https://github.com/AgaDevInc/AJSON.git"},"author":{"name":"AgaDev"},"bugs":{"url":"https://github.com/AgaDevInc/AJSON/issues"},"license":"ISC","readme":"### @agadev/AJSON\r\n# AJson implement functions in json\r\n\r\n## Imports\r\n#Deno\r\n```js\r\nimport AJSON from 'https://agacdn.onrender.com/agadev:ajson';\r\n```\r\n# CommonJS\r\n```js\r\nconst AJSON = require('@agadev/ajson');\r\n```\r\n# ECMAScript\r\n```js\r\nimport AJSON from '@agadev/ajson';\r\n```\r\n\r\n## Example\r\n```js\r\nconst math = AJSON.parse('{\"sum\": \"fn:(a,b) => a+b\", \"sub\": \"fn:(a,b) => a-b\"}');\r\n// math = {\r\n//  sum: (a, b) => a + b;\r\n//  sub: (a, b) => a - b;\r\n//};\r\n\r\nconst person = AJSON.stringify({\r\n  name: 'pepe',\r\n  say(text){ console.log(text) }\r\n});\r\n// person = '{\"name\":\"pepe\",\"say\":\"fn:function say (text){ console.log(text); }\"}';\r\n\r\nconst cat = {\r\n  type: 'cat',\r\n  emitSound(){\r\n    console.log('miau')\r\n  }\r\n};\r\nconst newCat = AJSON.parse(AJSON.stringfy(cat));\r\n// newCat = {\r\n//  type: 'cat',\r\n//  emitSound(){\r\n//    console.log('miau')\r\n//  }\r\n//};\r\n\r\ncat == newCat // false\r\n```","readmeFilename":"README.md"}