{"maintainers":[{"name":"anonymous","email":"hochelmartin@gmail.com"},{"name":"anonymous","email":"info@ngparty.cz"}],"keywords":["typescript","emit-helpers","payload"],"dist-tags":{"latest":"1.1.2"},"author":{"name":"Martin Hochel","email":"hochelmartin@gmail.com"},"description":"Typescript helpers for compiling typescript while specifying `--noEmitHelpers` within your `tsconfig.json`. Cross platform ( Node/Browser/WebWorker )","readme":"# TS-helpers\n\n[![Dependencies Status](https://david-dm.org/ngParty/ts-helpers.svg)](https://david-dm.org/ngParty/ts-helpers)\n[![devDependency Status](https://david-dm.org/ngParty/ts-helpers/dev-status.svg)](https://david-dm.org/ngParty/ts-helpers#info=devDependencies)\n[![npm](https://img.shields.io/npm/v/ts-helpers.svg)](https://www.npmjs.com/package/ts-helpers)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/ngParty/ts-helpers/master/LICENSE)\n \nTypescript helpers (TS <= 2.0) for compiling typescript while specifying `--noEmitHelpers` within your `tsconfig.json`.\n> Cross platform ( Node/Browser/WebWorker )\n\n## NOTE: Starting Typescript 2.1 this package won't be needed anymore\n\nInstead you can provide `--importHelpers` together with `--noEmitHelpers` which will import emit helpers from Typescript \"tslib\"\nMore info: https://github.com/Microsoft/TypeScript/pull/9097\n\n## Why?\n\nIf you are using one of following ES2015/ES.next features with Typescript:\n- inheritance via `class Foo extends Moo{}`\n- `async/await`\n- decorators via `experimentalDecorators` \n- metadata reflection via `emitDecoratorMetadata`\n \nTypescript will generate helper code in every one file.\nThis can be a problem when dealing with code coverage or payload size of you library/app\n\nTo mitigate this problem Typescript starting from version **1.8** allow us to specify `noEmitHelpers: true`which wont generate these helpers.\n\nAnd that's where this little utility comes into play, it defines those helpers just once for whole app.\n\n## Installation\n\n`npm install --save-dev ts-helpers`\n\nthen load it from your app root file:\n\n```typescript\n// main.ts\nimport 'ts-helpers';\n```\n\nand set tsconfig `noEmitHelpers` like following example:\n```json\n{\n  \"compilerOptions\": {\n    \"module\": \"commonjs\",\n    \"target\": \"es5\",\n    \"noImplicitAny\": false,\n    \"sourceMap\": true,\n    \"experimentalDecorators\": true,\n    \"emitDecoratorMetadata\": true,\n    \"moduleResolution\": \"node\",\n    \"pretty\": true,\n    \"noEmitHelpers\": true\n  },\n  \"exclude\": [\n    \"node_modules\"     \n  ]\n}\n```\n\n\nThat's it! enjoy ;)\n","repository":{"type":"git","url":"git+https://github.com/ngParty/ts-helpers.git"},"users":{"andrej-k":true},"bugs":{"url":"https://github.com/ngParty/ts-helpers/issues"},"license":"MIT","versions":{"1.0.0":{"name":"ts-helpers","version":"1.0.0","description":"Typescript helpers for compiling typescript while specifying `--noEmitHelpers` within your `tsconfig.json`. Cross platform ( Node/Browser/WebWorker )","main":"index.js","scripts":{"start":"tsc -w","pretest":"tsc","test":"mocha index.test.js","test:live":"npm start & npm test -- -w","prepublish":"npm run typings -- install && tsc","changelog":"conventional-changelog -p angular -i CHANGELOG.md -w","typings":"typings"},"bugs":{"url":"https://github.com/ngParty/ts-helpers/issues"},"homepage":"https://github.com/ngParty/ts-helpers#readme","repository":{"type":"git","url":"git+https://github.com/ngParty/ts-helpers.git"},"keywords":["typescript","emit-helpers","payload"],"author":{"name":"Martin Hochel","email":"hochelmartin@gmail.com"},"license":"MIT","devDependencies":{"chai":"3.5.0","conventional-changelog":"1.1.0","ghooks":"1.0.1","mocha":"2.4.5","typescript":"1.8.10","typings":"0.7.12","validate-commit-msg":"2.0.0"},"config":{"ghooks":{"pre-commit":"tsc && npm test","commit-msg":"validate-commit-msg"},"validate-commit-msg":{"warnOnFail":true,"maxSubjectLength":120}},"gitHead":"3b75ec42b3eac3ee6780105bbb069e053a7f802c","_id":"ts-helpers@1.0.0","_shasum":"71dfc344bcc31b9a9970d951a4048c96bedc295b","_from":".","_npmVersion":"3.5.4","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"info@ngparty.cz"},"dist":{"shasum":"71dfc344bcc31b9a9970d951a4048c96bedc295b","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/ts-helpers/-/ts-helpers-1.0.0.tgz","integrity":"sha512-Erc+d9dEWixGIf6FzqBSDWB9jNS9VhCCsH0f6d0JsJL3N+hxCNXsp+6AnoFaasW6MCrW3H4zUrWOJLziLig+eQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcaXWgN8wrr3DwsWsEB9xmy1obXmf0V4vmwM2r2wWJuAiApK+5PuJzMd53POeUWguSYkcM9dEW/c0vACJRec/Z+RQ=="}]},"maintainers":[{"name":"anonymous","email":"info@ngparty.cz"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ts-helpers-1.0.0.tgz_1460907098594_0.25165373855270445"}},"1.1.0":{"name":"ts-helpers","version":"1.1.0","description":"Typescript helpers for compiling typescript while specifying `--noEmitHelpers` within your `tsconfig.json`. Cross platform ( Node/Browser/WebWorker )","main":"index.js","scripts":{"start":"tsc -w","pretest":"tsc","test":"mocha index.test.js","test:live":"npm start & npm test -- -w","prepublish":"npm run typings -- install && tsc","changelog":"conventional-changelog -p angular -i CHANGELOG.md -w","typings":"typings"},"bugs":{"url":"https://github.com/ngParty/ts-helpers/issues"},"homepage":"https://github.com/ngParty/ts-helpers#readme","repository":{"type":"git","url":"git+https://github.com/ngParty/ts-helpers.git"},"keywords":["typescript","emit-helpers","payload"],"author":{"name":"Martin Hochel","email":"hochelmartin@gmail.com"},"license":"MIT","peerDependencies":{"typescript":">=1.8.0"},"devDependencies":{"chai":"3.5.0","conventional-changelog":"1.1.0","ghooks":"1.0.1","mocha":"2.4.5","typescript":"1.8.10","typings":"0.7.12","validate-commit-msg":"2.0.0"},"config":{"ghooks":{"pre-commit":"tsc && npm test","commit-msg":"validate-commit-msg"},"validate-commit-msg":{"warnOnFail":true,"maxSubjectLength":120}},"gitHead":"23289d406a27467c7a54172e3a939a9ef45f025a","_id":"ts-helpers@1.1.0","_shasum":"3c66480963fe5ea69412f230f28311177214cd27","_from":".","_npmVersion":"3.5.4","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"info@ngparty.cz"},"dist":{"shasum":"3c66480963fe5ea69412f230f28311177214cd27","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/ts-helpers/-/ts-helpers-1.1.0.tgz","integrity":"sha512-K6R+m8BuU6FEqvtVQeB/tgOicpd7SOBn7ryn9b6iCOZsROOf0uYJOrwK9mfxN3TRS1ses9XZZR6B4WwH7vLpSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJixXlZvhOtHUrg/nCeDDMmSwMUEKK/f0ckvOs0vm3hgIgTtXf/l6EgJj63+40rtbIJEctZgLeEAoCezo8WUzT1pY="}]},"maintainers":[{"name":"anonymous","email":"info@ngparty.cz"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ts-helpers-1.1.0.tgz_1460922907219_0.30338042112998664"}},"1.1.1":{"name":"ts-helpers","version":"1.1.1","description":"Typescript helpers for compiling typescript while specifying `--noEmitHelpers` within your `tsconfig.json`. Cross platform ( Node/Browser/WebWorker )","main":"index.js","scripts":{"start":"tsc -w","pretest":"tsc","test":"mocha index.test.js","test:live":"npm start & npm test -- -w","prepublish":"npm run typings -- install && tsc","changelog":"conventional-changelog -p angular -i CHANGELOG.md -w","typings":"typings"},"bugs":{"url":"https://github.com/ngParty/ts-helpers/issues"},"homepage":"https://github.com/ngParty/ts-helpers#readme","repository":{"type":"git","url":"git+https://github.com/ngParty/ts-helpers.git"},"keywords":["typescript","emit-helpers","payload"],"author":{"name":"Martin Hochel","email":"hochelmartin@gmail.com"},"license":"MIT","peerDependencies":{"typescript":">=1.8.0 || >=1.9.0-dev"},"devDependencies":{"chai":"3.5.0","conventional-changelog":"1.1.0","ghooks":"1.0.1","mocha":"2.4.5","typescript":"1.8.10","typings":"0.7.12","validate-commit-msg":"2.0.0"},"config":{"ghooks":{"pre-commit":"tsc && npm test","commit-msg":"validate-commit-msg"},"validate-commit-msg":{"warnOnFail":true,"maxSubjectLength":120}},"gitHead":"06d2a4b725138bab91af5817dbea48b0c78a7d29","_id":"ts-helpers@1.1.1","_shasum":"89553d2b8d313e7f0e3e0c85c08d6d3f03401f57","_from":".","_npmVersion":"3.5.4","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"info@ngparty.cz"},"dist":{"shasum":"89553d2b8d313e7f0e3e0c85c08d6d3f03401f57","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/ts-helpers/-/ts-helpers-1.1.1.tgz","integrity":"sha512-Go4BbTLJoXRcekATD+h3xJvwSA09c4OFFUgLN5rAS56CRcBjfPkz0EDbUwXbasclk8r0rL0VkbBhM7hDEbQyLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVuSj2gP9C4t+85h1p7/dwcOEF2O0tP1V9U8SGh90SbAIgYsIjQC5Og/urQafxe3RMz4B2AhzGt9kmZGdmWRFf/+s="}]},"maintainers":[{"name":"anonymous","email":"info@ngparty.cz"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ts-helpers-1.1.1.tgz_1461572062513_0.44838009867817163"}},"1.1.2":{"name":"ts-helpers","version":"1.1.2","description":"Typescript helpers for compiling typescript while specifying `--noEmitHelpers` within your `tsconfig.json`. Cross platform ( Node/Browser/WebWorker )","main":"index.js","scripts":{"start":"tsc -w","pretest":"tsc","test":"mocha index.test.js","test:live":"npm start & npm test -- -w","prepublish":"npm run typings -- install && tsc","changelog":"conventional-changelog -p angular -i CHANGELOG.md -w","typings":"typings"},"bugs":{"url":"https://github.com/ngParty/ts-helpers/issues"},"homepage":"https://github.com/ngParty/ts-helpers#readme","repository":{"type":"git","url":"git+https://github.com/ngParty/ts-helpers.git"},"keywords":["typescript","emit-helpers","payload"],"author":{"name":"Martin Hochel","email":"hochelmartin@gmail.com"},"license":"MIT","peerDependencies":{"typescript":">=1.8.0  <2.1.0 || >=1.9.0-dev || >=2.0.0-dev || || >=2.1.0-dev"},"devDependencies":{"chai":"3.5.0","conventional-changelog":"1.1.0","ghooks":"1.0.1","mocha":"2.4.5","typescript":"1.8.10","typings":"0.7.12","validate-commit-msg":"2.0.0"},"config":{"ghooks":{"pre-commit":"tsc && npm test","commit-msg":"validate-commit-msg"},"validate-commit-msg":{"warnOnFail":true,"maxSubjectLength":120}},"gitHead":"7793e55abebee365b21cc0b7792604f06b8f13f9","_id":"ts-helpers@1.1.2","_shasum":"fc69be9f1f3baed01fb1a0ef8d4cfe748814d835","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"info@ngparty.cz"},"dist":{"shasum":"fc69be9f1f3baed01fb1a0ef8d4cfe748814d835","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/ts-helpers/-/ts-helpers-1.1.2.tgz","integrity":"sha512-G693cujAS8MzCAPUjvSssoDsp2yMR9CEnZ75h3ii9jC+AzeU6UZorHNDqve0kw5CxLPW2mnKQlnA6MdH52imNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtacV/SqkngeyB1fdZUw/jYwoeWC0sVgaFT3T4uhzzuQIhANqVrSmKeeabke7CKojGsqAq5zmHzC3f4+YuV8rMPcMB"}]},"maintainers":[{"name":"anonymous","email":"info@ngparty.cz"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ts-helpers-1.1.2.tgz_1476434586990_0.1804180375766009"}}},"name":"ts-helpers","time":{"modified":"2022-06-27T22:07:46.346Z","created":"2016-04-17T15:31:39.734Z","1.0.0":"2016-04-17T15:31:39.734Z","1.1.0":"2016-04-17T19:55:08.362Z","1.1.1":"2016-04-25T08:14:24.887Z","1.1.2":"2016-10-14T08:43:08.788Z"},"readmeFilename":"README.md","homepage":"https://github.com/ngParty/ts-helpers#readme"}