{"_id":"emscripten-library-decorator","_rev":"1205707","name":"emscripten-library-decorator","description":"Decorators for writing Emscripten libraries","dist-tags":{"latest":"0.2.2"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"time":{"modified":"2025-03-24T01:59:29.000Z","created":"2015-08-29T18:13:23.584Z","0.2.2":"2017-04-21T14:57:32.482Z","0.2.1":"2017-04-21T14:41:01.153Z","0.2.0":"2016-12-12T18:37:41.980Z","0.1.8":"2016-09-16T13:46:09.630Z","0.1.7":"2016-07-29T04:40:20.756Z","0.1.6":"2016-05-03T17:20:49.165Z","0.1.5":"2016-05-02T07:14:01.255Z","0.1.4":"2015-10-07T13:47:59.475Z","0.1.3":"2015-10-07T13:36:51.035Z","0.1.2":"2015-09-29T11:30:17.119Z","0.1.1":"2015-09-08T04:11:10.658Z","0.1.0":"2015-09-07T19:31:46.846Z","0.0.2":"2015-08-29T18:16:19.761Z","0.0.1":"2015-08-29T18:13:23.584Z"},"users":{},"author":{"name":"Juha Järvi"},"repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"versions":{"0.2.2":{"name":"emscripten-library-decorator","version":"0.2.2","description":"Decorators for writing Emscripten libraries","main":"dist/index.js","typings":"dist/index.d.ts","bin":{"dump-em-lib":"./dump-em-lib"},"scripts":{"tsc":"tsc","tslint":"tslint","docts":"docts","lint":"tslint --type-check -c src/tslint.json -p src/tsconfig.json","prepublish":"npm run lint && tsc -p src","test":"node dist/index.js"},"author":{"name":"Juha Järvi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"homepage":"https://github.com/charto/emscripten-library-decorator","devDependencies":{"docts":"~0.1.0","tslint":"^5.1.0","typescript":"^2.2.2"},"gitHead":"5545795595c0d94002edbcaf8a0d8e5bdeb1273b","_id":"emscripten-library-decorator@0.2.2","_shasum":"d035f023e2a84c68305cc842cdeea38e67683c40","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.0.0","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"d035f023e2a84c68305cc842cdeea38e67683c40","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.2.2.tgz","integrity":"sha512-kDmAu7dLbBisaCGrWSNmoZPWeRyHcaJ2k5+z7IgStgZfCNYQmtADRvSic/qHvN+rf6US3HHTfrQ0/D8UdfF1CQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC95UlQFIY8xmejzdCG7BJzHN+8Hcx6VMDoKi7hv18MCgIhAIS+HnAlySuGDnVPfpjJTMuKO0fvElG1QcfTi9r0JmQT"}],"size":4917,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.2.2.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.2.2.tgz_1492786650637_0.4193651375826448"},"directories":{},"publish_time":1492786652482,"_cnpm_publish_time":1492786652482},"0.2.1":{"name":"emscripten-library-decorator","version":"0.2.1","description":"Decorators for writing Emscripten libraries","main":"dist/index.js","typings":"dist/index.d.ts","bin":{"dump-em-lib":"./dump-em-lib"},"scripts":{"tsc":"tsc","tslint":"tslint","docts":"docts","lint":"tslint --type-check -c src/tslint.json -p src/tsconfig.json","prepublish":"npm run lint && tsc -p src","test":"node dist/index.js"},"author":{"name":"Juha Järvi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"homepage":"https://github.com/charto/emscripten-library-decorator","devDependencies":{"docts":"~0.1.0","tslint":"^5.1.0","typescript":"^2.2.2"},"gitHead":"0b52523832e7d985bbf95737489d7ce32ab7fab4","_id":"emscripten-library-decorator@0.2.1","_shasum":"11ddf5e1927eb56ac6d40fad01af5228267ce1fd","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.0.0","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"11ddf5e1927eb56ac6d40fad01af5228267ce1fd","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.2.1.tgz","integrity":"sha512-oL9H1uA2i7R7RQ5xEo46+d6gop7IUc0D0NikWZ8GAis0WGCM0Z7vu8X8No06JbUcoESb7PcRLMo5ytpRuoR/9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF55NZAFbPoI+/5l6EaU04BmZkyJNNcpUnI/mFCLpl3OAiEAlWGjO6UoHzxlVraZKZaHtiNb9A/U8kyv1AJ9kEQW5kw="}],"size":4912,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.2.1.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.2.1.tgz_1492785660567_0.6682169863488525"},"directories":{},"publish_time":1492785661153,"_cnpm_publish_time":1492785661153},"0.2.0":{"name":"emscripten-library-decorator","version":"0.2.0","description":"Decorators for writing Emscripten libraries","main":"dist/index.js","typings":"dist/index.d.ts","bin":{"dump-em-lib":"./dump-em-lib"},"scripts":{"tsc":"tsc","tslint":"tslint","docts":"docts","lint":"tslint -c src/tslint.json src/*.ts","prepublish":"npm run lint && tsc -p src","test":"node dist/index.js"},"author":{"name":"Juha Järvi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"homepage":"https://github.com/charto/emscripten-library-decorator","devDependencies":{"docts":"~0.1.0","tslint":"^4.0.2","typescript":"^2.1.4"},"gitHead":"b52088a1592b2f4c886939ee3216e64299aa260b","_id":"emscripten-library-decorator@0.2.0","_shasum":"54f08075a9f82d7091729fd1daa97aa0e025d4f3","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"54f08075a9f82d7091729fd1daa97aa0e025d4f3","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.2.0.tgz","integrity":"sha512-V8cFbmIRz2eoUFz2MqLtn89TsPrs8Zbl77HGpKQTg45U589VIViFwvja+sIElF4ulptQvDcq5Lq02fKMY77l6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwMBR5+doew2Hs9S2p94sGiajy9Qq/OyCL6rqL1iH6VwIgfjp7Wh9hyQjh0AJn0RFGV74WYhdJB4iGg1nmHeS6MYE="}],"size":4698,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.2.0.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.2.0.tgz_1481567861434_0.8019217345863581"},"directories":{},"publish_time":1481567861980,"_cnpm_publish_time":1481567861980},"0.1.8":{"name":"emscripten-library-decorator","version":"0.1.8","description":"Decorators for writing Emscripten libraries","main":"dist/index.js","typings":"dist/index.d.ts","bin":{"dump-em-lib":"./dump-em-lib"},"scripts":{"tsc":"tsc","tslint":"tslint","docts":"docts","lint":"tslint -c src/tslint.json src/*.ts","prepublish":"npm run lint && tsc -p src","test":"node dist/index.js"},"author":{"name":"Juha Järvi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"homepage":"https://github.com/charto/emscripten-library-decorator","devDependencies":{"docts":"~0.1.0","tslint":"^3.15.1","typescript":"^1.8.10"},"gitHead":"fbc8d3b1fb3360dcd45972bf6f734eca7227dc37","_id":"emscripten-library-decorator@0.1.8","_shasum":"678668ff9f210af971b8f5c780fb0ef6fcc3ae5b","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"678668ff9f210af971b8f5c780fb0ef6fcc3ae5b","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.8.tgz","integrity":"sha512-4AakrWMQ3iTVGVQPRKU07rYJR9KCLc6P5eW2+8wM5AXqsreaOLZJ1oluUPd0umFIBvzcKVlOZWZ30Yra7EVy9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1/Wqh74BX7ZAfN7HMSSyNm+SY1UyF52poGuhhxtyjIAiEAvc9YbH5xQyqvBguUvg1/CgVJ/mE+gSgLRhuiGrNHA24="}],"size":4732,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.8.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.1.8.tgz_1474033567849_0.9406440248712897"},"directories":{},"publish_time":1474033569630,"_cnpm_publish_time":1474033569630},"0.1.7":{"name":"emscripten-library-decorator","version":"0.1.7","description":"Decorators for writing Emscripten libraries","main":"dist/index.js","typings":"dist/index.d.ts","scripts":{"tsc":"tsc","tslint":"tslint","docts":"docts","lint":"tslint -c src/tslint.json src/*.ts","prepublish":"npm run lint && tsc -p src","test":"node index.js"},"author":{"name":"Juha Järvi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"homepage":"https://github.com/charto/emscripten-library-decorator","devDependencies":{"docts":"~0.0.4","tslint":"^3.14.0","typescript":"^1.8.10"},"gitHead":"a4496429bb6dc5954bf65603de828a307d94d821","_id":"emscripten-library-decorator@0.1.7","_shasum":"bc479804de4a6732a0e8916fd6c5fa05d3e76066","_from":".","_npmVersion":"3.7.5","_nodeVersion":"4.2.4","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"bc479804de4a6732a0e8916fd6c5fa05d3e76066","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.7.tgz","integrity":"sha512-kXy5MNLAjR3EH0ZuT/ynVICvlOsCqtJb6zlvkWs3EmqhiiSo33d3sZNXG0D+2TjP3vPG6p118d9hRJaa2cz+Fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKMo5Ghq9U456wrF2+7xXLqB2RIgJOsuqo7Ejd/h+jMAiEAudR+m6Kpnd8vpZr5WN3VjdEn4/JT5mJy4/dSGgXj7ac="}],"size":4147,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.7.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.1.7.tgz_1469767218739_0.5630140074063092"},"directories":{},"publish_time":1469767220756,"_cnpm_publish_time":1469767220756},"0.1.6":{"name":"emscripten-library-decorator","version":"0.1.6","description":"Decorators for writing Emscripten libraries","main":"index.js","typings":"index.d.ts","scripts":{"tsc":"tsc","docts":"docts","prepublish":"tsc","test":"node index.js"},"author":{"name":"Juha Järvi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"homepage":"https://github.com/charto/emscripten-library-decorator","devDependencies":{"docts":"~0.0.4","typescript":"^1.8.10"},"gitHead":"2e529a8364fa9e6416bbd1ac513f93d1301587eb","_id":"emscripten-library-decorator@0.1.6","_shasum":"aacc44cf37aff5dcefd06c4c673e903ba998cbed","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"aacc44cf37aff5dcefd06c4c673e903ba998cbed","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.6.tgz","integrity":"sha512-s9pCBJRFYfK9yUsc55f4neSP4r5vcgzznuCv8CPh0EBiic0rfB6m+xHDaWSi2/MXu1xCWbb1kCniYnC4Rn8BUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZDj9fbkXwKKfMiVIIc2tNwPq6hCEmUOakuvoRaunOHAiB8avhS1PNcJn533uP+QEkiQW1t/9NSzjHFzjUhZSH6Iw=="}],"size":4647,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.6.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.1.6.tgz_1462296047615_0.8978166205342859"},"directories":{},"publish_time":1462296049165,"_cnpm_publish_time":1462296049165},"0.1.5":{"name":"emscripten-library-decorator","version":"0.1.5","description":"Decorators for writing Emscripten libraries","homepage":"https://github.com/charto/emscripten-library-decorator","bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"author":{"name":"Juha Järvi"},"license":"MIT","main":"index.ts","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"gitHead":"8c956dd9c500176161f2b7b94a99eda89e8f8016","_id":"emscripten-library-decorator@0.1.5","scripts":{},"_shasum":"3daf97bcc5a4a0e1c7f91976b9112474f885c1ef","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"3daf97bcc5a4a0e1c7f91976b9112474f885c1ef","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.5.tgz","integrity":"sha512-mspaH18NzSsSSKy9kyN00dRigtUsVIyoAVrnBrvD5J46LoZMikAZLS8VkHyfETpBXA+oJW/9v1OZgtRMvq1mHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8yTmCruKKEwGpWEbFHzF2kSXn/nX1+KlFCSLpGNuEOQIhAIUyEgGhUSH61F89UlgJ7R4rCbTDc7JPAv6YW7+545jX"}],"size":2724,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.5.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.1.5.tgz_1462173240290_0.9659535940736532"},"directories":{},"publish_time":1462173241255,"_cnpm_publish_time":1462173241255},"0.1.4":{"name":"emscripten-library-decorator","version":"0.1.4","description":"Decorators for writing Emscripten libraries","homepage":"https://github.com/charto/emscripten-library-decorator","bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"author":{"name":"Juha Järvi"},"license":"MIT","main":"index.ts","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"gitHead":"9cf939028f5087a996529fa8301a26b96cd4a1ee","_id":"emscripten-library-decorator@0.1.4","scripts":{},"_shasum":"3386345b046528187fbdef30a8c05190a85cba96","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"3386345b046528187fbdef30a8c05190a85cba96","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.4.tgz","integrity":"sha512-rwL8CyOUpOUlCtOK9Aor+ejQ6gcP0QVYwjj+R8j8E/g0/OuFNI5DHqigiWCljlftUb7M76B8h1hKrDOSmAeT+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbe4M42T8ALlJEen1CcuoyJMJeFN0nOSxw1DVUNSexPQIhAJ34fOH9jLi8Nng7HOL+GfoWW7RKS44chXGHT5BXcjtE"}],"size":2837,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.4.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"directories":{},"publish_time":1444225679475,"_cnpm_publish_time":1444225679475},"0.1.3":{"name":"emscripten-library-decorator","version":"0.1.3","description":"Decorators for writing Emscripten libraries","homepage":"https://github.com/charto/emscripten-library-decorator","bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"author":{"name":"Juha Järvi"},"license":"MIT","main":"index.ts","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"gitHead":"f6e5d7f0fa317a7816ef677d7c979dad7310e297","_id":"emscripten-library-decorator@0.1.3","scripts":{},"_shasum":"6b814ed34e6064e5695d4938a23659cd1487dbd2","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"6b814ed34e6064e5695d4938a23659cd1487dbd2","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.3.tgz","integrity":"sha512-daIeReQRRfK9n7V3YOaFcUYCyNzU9FeDuy0qNJuJlU+8Tt6eUKLwWOEqZ48WvujjF41RagLVEGY6vvLcM9qjww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpc7JD/Z3eFn07Lv/g2e2uzM9Igj7oeRAenGEFHHewdwIhAMOvEwTyYtRKL6MjerX/mlnW10AOq+SRZdE9O4KsWv8p"}],"size":2786,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.3.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"directories":{},"publish_time":1444225011035,"_cnpm_publish_time":1444225011035},"0.1.2":{"name":"emscripten-library-decorator","version":"0.1.2","description":"Decorators for writing Emscripten libraries","homepage":"https://github.com/charto/emscripten-library-decorator","bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"author":{"name":"Juha Järvi"},"license":"MIT","main":"index.ts","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"gitHead":"eaa08c0eb0acc2b5dd41ea02a16010f64cdbb6a1","_id":"emscripten-library-decorator@0.1.2","scripts":{},"_shasum":"44b96cdb6bf4dd7afd8e9df4d155519e3f50357e","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"44b96cdb6bf4dd7afd8e9df4d155519e3f50357e","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.2.tgz","integrity":"sha512-PCur9YXLGSG5Vo6tnjgMLys2BLQv5Y2SIVIKzfr3guYwseVGTS8MkJXXJ4sZybTXzkkpYn9sIl49vAw5SkAkcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrL9EppbZr41nCDiWUo39xXFcn8U+jETertsE98ZrDJAiA8OT7mwbMzmxOH1+taTIiQDQk6rGdwymAERqxFUU4ykA=="}],"size":2641,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.2.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"directories":{},"publish_time":1443526217119,"_cnpm_publish_time":1443526217119},"0.1.1":{"name":"emscripten-library-decorator","version":"0.1.1","description":"Decorators for writing Emscripten libraries","homepage":"https://github.com/charto/emscripten-library-decorator","bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"author":{"name":"Juha Järvi"},"license":"MIT","main":"index.ts","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"gitHead":"68b173d2be1219068ac63cb306baf30acd057c7d","_id":"emscripten-library-decorator@0.1.1","scripts":{},"_shasum":"dd84f1513fb43e41c8c149293d3cf4d255e60147","_from":".","_npmVersion":"2.14.2","_nodeVersion":"0.12.2","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"dd84f1513fb43e41c8c149293d3cf4d255e60147","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.1.tgz","integrity":"sha512-9IXPdcSt+LpZ5uB9zOFGQzbY7GDZPCQnMYPcSzmtZzhTrexU8k2GJl6AiSn4PSR/3KAHpt0UwhvlADk/JjzNpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwJTqzpVE534nQxbcSOjlnhYu80NOQEgqtpcxX2MtdWAiAdhVlncUnp1vipDdrQWKWk8jJvsUCSeW460ABHgztiDA=="}],"size":2764,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.1.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"directories":{},"publish_time":1441685470658,"_cnpm_publish_time":1441685470658},"0.1.0":{"name":"emscripten-library-decorator","version":"0.1.0","description":"Decorators for writing Emscripten libraries","homepage":"https://github.com/charto/emscripten-library-decorator","bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"author":{"name":"Juha Järvi"},"license":"MIT","main":"index.ts","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"gitHead":"1883a399bccd28e65c7feaef82638da421f5e06c","_id":"emscripten-library-decorator@0.1.0","scripts":{},"_shasum":"61f64bd3638535c57dbb21262625968c12795c1b","_from":".","_npmVersion":"2.14.2","_nodeVersion":"0.12.2","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"61f64bd3638535c57dbb21262625968c12795c1b","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.0.tgz","integrity":"sha512-XJQT0cwVHCDOt+hmJHCW2aRYDDOEmNhgkBuiCNC4BhNt4m4xarkKwWRReT8EsitQODwU1ROvGtEoiEwqLmyjow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHFa4j7YUfPXAX9KNxmzgUdRjUqqlfKZ2QKgSwB0Je/AIhAOPi+SXzsqBgFeBNpe1JTk3yNBk7m9lY1ds98gr+9Zu0"}],"size":2759,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.0.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"directories":{},"publish_time":1441654306846,"_cnpm_publish_time":1441654306846},"0.0.2":{"name":"emscripten-library-decorator","version":"0.0.2","description":"Decorators for writing Emscripten libraries","homepage":"https://github.com/charto/emscripten-library-decorator","bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"author":{"name":"Juha Järvi"},"license":"MIT","main":"index.ts","repository":{"type":"git","url":"git+https://github.com/charto/emscripten-library-decorator.git"},"gitHead":"37af888a8502cd333e3c8d4a98f5bbedf5e05aa2","_id":"emscripten-library-decorator@0.0.2","scripts":{},"_shasum":"dbd1330b2a96b7e0d8e5414fd20a80a8220b31ac","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.2","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"dbd1330b2a96b7e0d8e5414fd20a80a8220b31ac","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.0.2.tgz","integrity":"sha512-iWJCYwa2uZlK6lRmQfDke5xLZkFg9BVsIa3Ng+9H4Kk85o6mwXRhaForKUec/ak3bA/caXkzbQZX4FcLkOn4og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGKp7f2vtFoDei8zKwTUnpltjYqyCRcNMB/AOr0w4X7RAiEAkZtdCBz73nN0NLlCTSWdJZrj5GAnBX/ZOl/CPHY7ohQ="}],"size":2197,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.0.2.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"directories":{},"publish_time":1440872179761,"_cnpm_publish_time":1440872179761},"0.0.1":{"name":"emscripten-library-decorator","version":"0.0.1","description":"Decorators for writing Emscripten libraries","author":{"name":"Juha Järvi"},"license":"MIT","main":"index.ts","gitHead":"fa7fa187af49ebba5a641fb2b1599caef05de13d","_id":"emscripten-library-decorator@0.0.1","scripts":{},"_shasum":"1ba753710cf5fcaf7e4c862455f9f880abd9c75f","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.2","_npmUser":{"name":"jjrv","email":"befunge@gmail.com"},"dist":{"shasum":"1ba753710cf5fcaf7e4c862455f9f880abd9c75f","tarball":"http://registry-npm.ywwl.com/emscripten-library-decorator/download/emscripten-library-decorator-0.0.1.tgz","integrity":"sha512-vU/RyxkeWCq4ZmLW5HgzTqxlqd38R6e8Ic+PWhMFP1jX9Ie5DE5lnrzAsiHgEKPNAhOekmuNOoWwZICG7a57aQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnXvpc5lAafLuShLgmJmItRSRbDICYFezvVmrcW76V/QIgHaJOu2YtC+K/IST3ukb53GmyXR1qztF+RuPLEyasIjY="}],"size":2133,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.0.1.tgz"},"maintainers":[{"name":"jjrv","email":"befunge@gmail.com"}],"directories":{},"publish_time":1440872003584,"_cnpm_publish_time":1440872003584}},"readme":"emscripten-library-decorator\n============================\n\nThis package provides decorators for writing Emscripten libraries.\n\n```typescript\nfunction _print(message: string) {\n\tconsole.log(message);\n}\n\n@exportLibrary\nclass test {\n\t@dep(_print)\n\tstatic hello() {\n\t\t_print('Hello, World!!');\n\t}\n\n\tstatic foobar = 42;\n};\n```\n\nThe class decorator `@exportLibrary` exports the static members of the class as an Emscripten library. Place it with no arguments just before the class.\n\nThe property decorator `@dep` is for listing dependencies. It ensures that when an exported function is used in the C or C++ code, other required functions are also included in the compiled Emscripten output after dead code elimination. Place it just before a function with any number of parameters listing the other required functions.\n\nThe dependencies should be global functions and their name should begin with an underscore. Otherwise Emscripten's name mangling will change their name in the output making any calls to them fail.\n\nThere is a [longer article](http://blog.charto.net/asm-js/Writing-Emscripten-libraries-in-TypeScript/) with more information.\n\nAPI\n===\nDocs generated using [`docts`](https://github.com/charto/docts)\n>\n> <a name=\"api-defineHidden\"></a>\n> ### Function [`defineHidden`](#api-defineHidden)\n> <em>@_defineHidden decorator.</em>  \n> <em>Assign to a local variable called _defineHidden before using.</em>  \n> <em>Apply to a property to protect it from modifications and hide it.</em>  \n> Source code: [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L107-L116)  \n> > **defineHidden( )** <sup>&rArr; <code>(target: Object, key: string) =&gt; void</code></sup> [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L107-L116)  \n> > &emsp;&#x25ab; value<sub>?</sub> <sup><code>any</code></sup>  \n>\n> <a name=\"api-dep\"></a>\n> ### Function [`dep`](#api-dep)\n> <em>@dep decorator.</em>  \n> <em>Apply to a function, to list other required variables needing protection</em>  \n> <em>from dead code removal.</em>  \n> <em>Arguments can be functions or names of global variables.</em>  \n> Source code: [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L20-L48)  \n> > **dep( )** <sup>&rArr; <code>(target: Object, functionName: string) =&gt; void</code></sup> [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L20-L48)  \n> > &emsp;&#x25aa; depList <sup><code>((...args: any[]) =&gt; any | string)[]</code></sup>  \n>\n> <a name=\"api-exportLibrary\"></a>\n> ### Function [`exportLibrary`](#api-exportLibrary)\n> <em>@exportLibrary decorator.</em>  \n> <em>Apply to a class with static methods, to export them as functions.</em>  \n> Source code: [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L53-L55)  \n> > **exportLibrary( )** <sup>&rArr; <code>void</code></sup> [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L53-L55)  \n> > &emsp;&#x25aa; target <sup><code>any</code></sup>  \n>\n> <a name=\"api-prepareNamespace\"></a>\n> ### Function [`prepareNamespace`](#api-prepareNamespace)\n> <em>@prepareNamespace decorator.</em>  \n> <em>Apply to an empty, named dummy class defined at the end of the namespace</em>  \n> <em>block, to prepare its contents for export in an Emscripten library.</em>  \n> <em>Namespaces with matching names in different files are merged together.</em>  \n> <em>All code in the block is separated because Emscripten only outputs global</em>  \n> <em>functions, not methods.</em>  \n> Source code: [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L66-L77)  \n> > **prepareNamespace( )** <sup>&rArr; <code>(target: any) =&gt; void</code></sup> [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L66-L77)  \n> > &emsp;&#x25aa; name <sup><code>string</code></sup>  \n>\n> <a name=\"api-publishNamespace\"></a>\n> ### Function [`publishNamespace`](#api-publishNamespace)\n> <em>Call once per namespace at the global level, after all files with contents</em>  \n> <em>in that namespace have been imported. Clears the namespace and exports a</em>  \n> <em>\"postset\" function to populate it using its original code.</em>  \n> Source code: [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L83-L101)  \n> > **publishNamespace( )** <sup>&rArr; <code>void</code></sup> [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L83-L101)  \n> > &emsp;&#x25aa; name <sup><code>string</code></sup>  \n>\n> <a name=\"api-setEvil\"></a>\n> ### Function [`setEvil`](#api-setEvil)\n> <em>Allow decorators to call eval() in the context that called them.</em>  \n> <em>This is needed for various transformations.</em>  \n> Source code: [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L11-L13)  \n> > **setEvil( )** <sup>&rArr; <code>void</code></sup> [`<>`](http://github.com/charto/emscripten-library-decorator/blob/74128b8/index.ts#L11-L13)  \n> > &emsp;&#x25aa; otherEval <sup><code>(code: string) =&gt; any</code></sup> <em>must be this function: (code: string) => eval(code)</em>  \n\nLicense\n-------\n[The MIT License](https://raw.githubusercontent.com/charto/emscripten-library-decorator/master/LICENSE)\n\nCopyright (c) 2015-2017 BusFaster Ltd\n","_attachments":{},"homepage":"https://github.com/charto/emscripten-library-decorator","bugs":{"url":"https://github.com/charto/emscripten-library-decorator/issues"},"license":"MIT"}