{"_id":"emscripten-library-decorator","_rev":"4063421","name":"emscripten-library-decorator","description":"Decorators for writing Emscripten libraries","dist-tags":{"latest":"0.2.2"},"maintainers":[{"name":"jjrv","email":""}],"time":{"modified":"2025-09-24T04:26:58.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","size":4917,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.2.2.tgz"},"maintainers":[{"name":"jjrv","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.2.2.tgz_1492786650637_0.4193651375826448"},"directories":{},"publish_time":1492786652482,"_hasShrinkwrap":false,"_cnpm_publish_time":1492786652482,"_cnpmcore_publish_time":"2021-12-16T22:40:02.906Z"},"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","size":4912,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.2.1.tgz"},"maintainers":[{"name":"jjrv","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.2.1.tgz_1492785660567_0.6682169863488525"},"directories":{},"publish_time":1492785661153,"_hasShrinkwrap":false,"_cnpm_publish_time":1492785661153,"_cnpmcore_publish_time":"2021-12-16T22:40:03.178Z"},"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","size":4698,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.2.0.tgz"},"maintainers":[{"name":"jjrv","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.2.0.tgz_1481567861434_0.8019217345863581"},"directories":{},"publish_time":1481567861980,"_hasShrinkwrap":false,"_cnpm_publish_time":1481567861980,"_cnpmcore_publish_time":"2021-12-16T22:40:03.363Z"},"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","size":4732,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.8.tgz"},"maintainers":[{"name":"jjrv","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.1.8.tgz_1474033567849_0.9406440248712897"},"directories":{},"publish_time":1474033569630,"_hasShrinkwrap":false,"_cnpm_publish_time":1474033569630,"_cnpmcore_publish_time":"2021-12-16T22:40:03.579Z"},"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","size":4147,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.7.tgz"},"maintainers":[{"name":"jjrv","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.1.7.tgz_1469767218739_0.5630140074063092"},"directories":{},"publish_time":1469767220756,"_hasShrinkwrap":false,"_cnpm_publish_time":1469767220756,"_cnpmcore_publish_time":"2021-12-16T22:40:03.822Z"},"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","size":4647,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.6.tgz"},"maintainers":[{"name":"jjrv","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.1.6.tgz_1462296047615_0.8978166205342859"},"directories":{},"publish_time":1462296049165,"_hasShrinkwrap":false,"_cnpm_publish_time":1462296049165,"_cnpmcore_publish_time":"2021-12-16T22:40:04.072Z"},"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","size":2724,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.5.tgz"},"maintainers":[{"name":"jjrv","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/emscripten-library-decorator-0.1.5.tgz_1462173240290_0.9659535940736532"},"directories":{},"publish_time":1462173241255,"_hasShrinkwrap":false,"_cnpm_publish_time":1462173241255,"_cnpmcore_publish_time":"2021-12-16T22:40:04.275Z"},"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","size":2837,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.4.tgz"},"maintainers":[{"name":"jjrv","email":""}],"directories":{},"publish_time":1444225679475,"_hasShrinkwrap":false,"_cnpm_publish_time":1444225679475,"_cnpmcore_publish_time":"2021-12-16T22:40:04.513Z"},"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","size":2786,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.3.tgz"},"maintainers":[{"name":"jjrv","email":""}],"directories":{},"publish_time":1444225011035,"_hasShrinkwrap":false,"_cnpm_publish_time":1444225011035,"_cnpmcore_publish_time":"2021-12-16T22:40:04.753Z"},"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","size":2641,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.2.tgz"},"maintainers":[{"name":"jjrv","email":""}],"directories":{},"publish_time":1443526217119,"_hasShrinkwrap":false,"_cnpm_publish_time":1443526217119,"_cnpmcore_publish_time":"2021-12-16T22:40:05.126Z"},"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","size":2764,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.1.tgz"},"maintainers":[{"name":"jjrv","email":""}],"directories":{},"publish_time":1441685470658,"_hasShrinkwrap":false,"_cnpm_publish_time":1441685470658,"_cnpmcore_publish_time":"2021-12-16T22:40:05.370Z"},"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","size":2759,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.1.0.tgz"},"maintainers":[{"name":"jjrv","email":""}],"directories":{},"publish_time":1441654306846,"_hasShrinkwrap":false,"_cnpm_publish_time":1441654306846,"_cnpmcore_publish_time":"2021-12-16T22:40:05.610Z"},"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","size":2197,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.0.2.tgz"},"maintainers":[{"name":"jjrv","email":""}],"directories":{},"publish_time":1440872179761,"_hasShrinkwrap":false,"_cnpm_publish_time":1440872179761,"_cnpmcore_publish_time":"2021-12-16T22:40:05.813Z"},"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","size":2133,"noattachment":false,"key":"/emscripten-library-decorator/-/emscripten-library-decorator-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/emscripten-library-decorator/download/emscripten-library-decorator-0.0.1.tgz"},"maintainers":[{"name":"jjrv","email":""}],"directories":{},"publish_time":1440872003584,"_hasShrinkwrap":false,"_cnpm_publish_time":1440872003584,"_cnpmcore_publish_time":"2021-12-16T22:40:06.028Z"}},"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"}