{"action":"created","issue":{"url":"https://api.github.com/repos/tcorral/JSONC/issues/1","repository_url":"https://api.github.com/repos/tcorral/JSONC","labels_url":"https://api.github.com/repos/tcorral/JSONC/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tcorral/JSONC/issues/1/comments","events_url":"https://api.github.com/repos/tcorral/JSONC/issues/1/events","html_url":"https://github.com/tcorral/JSONC/issues/1","id":25562918,"number":1,"title":"gzip has no method zip","user":{"login":"benzmuircroft","id":4244518,"avatar_url":"https://avatars.githubusercontent.com/u/4244518?v=3","gravatar_id":"","url":"https://api.github.com/users/benzmuircroft","html_url":"https://github.com/benzmuircroft","followers_url":"https://api.github.com/users/benzmuircroft/followers","following_url":"https://api.github.com/users/benzmuircroft/following{/other_user}","gists_url":"https://api.github.com/users/benzmuircroft/gists{/gist_id}","starred_url":"https://api.github.com/users/benzmuircroft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benzmuircroft/subscriptions","organizations_url":"https://api.github.com/users/benzmuircroft/orgs","repos_url":"https://api.github.com/users/benzmuircroft/repos","events_url":"https://api.github.com/users/benzmuircroft/events{/privacy}","received_events_url":"https://api.github.com/users/benzmuircroft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-01-14T09:51:45Z","updated_at":"2016-04-22T19:24:55Z","closed_at":null,"body":"I've npm installed jsoncomp \r\n\r\nbut something is wrong...\r\n\r\nI can do JSONC.compress and JSONC.decompress they both worked strait away no problem. all I needed to do was \r\n\r\n```javascript\r\nvar JSONC=require('jsoncomp/src/JSONC.js') \r\n```\r\n\r\nBut as soon as tired to do JSON.pack it would say Base64 is undefined\r\n\r\nSo I went into JSONC.js and added \r\n\r\n```javascript\r\nvar Base64=null;\r\n  \r\n  isNodeEnvironment = typeof exports === 'object' && typeof module === 'object' && typeof module.exports === 'object' && typeof require === 'function';\r\n  if(isNodeEnvironment===true){\r\n  \tBase64=require('../vendor/base64.js');\r\n  \t}\r\n```\r\n\r\nthen it says it the same about gzip, so i do the same with gzip...\r\n\r\nthen it says gzip has no method zip!?\r\n\r\nconsole.dir says gzip looks like this:\r\n\r\n```\r\n{ gzip:\r\n   { zip: [Function: zip],\r\n     unzip: [Function: unzip],\r\n     DEFAULT_LEVEL: [Getter] } }\r\n```\r\n\r\nWhat is wrong? Are there instructions to start using this?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tcorral/JSONC/issues/comments/213560855","html_url":"https://github.com/tcorral/JSONC/issues/1#issuecomment-213560855","issue_url":"https://api.github.com/repos/tcorral/JSONC/issues/1","id":213560855,"user":{"login":"mmcdermott","id":470751,"avatar_url":"https://avatars.githubusercontent.com/u/470751?v=3","gravatar_id":"","url":"https://api.github.com/users/mmcdermott","html_url":"https://github.com/mmcdermott","followers_url":"https://api.github.com/users/mmcdermott/followers","following_url":"https://api.github.com/users/mmcdermott/following{/other_user}","gists_url":"https://api.github.com/users/mmcdermott/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcdermott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcdermott/subscriptions","organizations_url":"https://api.github.com/users/mmcdermott/orgs","repos_url":"https://api.github.com/users/mmcdermott/repos","events_url":"https://api.github.com/users/mmcdermott/events{/privacy}","received_events_url":"https://api.github.com/users/mmcdermott/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T19:24:55Z","updated_at":"2016-04-22T19:24:55Z","body":"Issue is still present, if anyone out there runs into this in the future."}}