{"_id":"i18n-ts","_rev":"9-2cacea538ce5b5df5ea6aa8f54817c29","name":"i18n-ts","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"i18n-ts","version":"1.0.0","description":"Type safe internationalization utility for TypeScript","main":"./lib/i18n.js","types":"./dts/i18n.d.ts","scripts":{"build":"npm run test && gulp build","test":"jasmine-ts \"test/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/sparkbitpl/i18n-ts.git"},"keywords":["i18n","TypeScript","internationalization"],"author":{"name":"Sparkbit"},"license":"MIT","bugs":{"url":"https://github.com/sparkbitpl/i18n-ts/issues"},"homepage":"https://github.com/sparkbitpl/i18n-ts#readme","dependencies":{"typescript":"2.7.1"},"devDependencies":{"@types/jasmine":"^2.8.6","del":"3.0.0","gulp":"3.9.1","gulp-if":"2.0.2","gulp-sourcemaps":"2.6.4","gulp-typescript":"3.2.4","jasmine":"^2.9.0","jasmine-ts":"^0.2.1","path":"0.12.7","run-sequence":"2.2.1","yargs":"11.0.0"},"gitHead":"254b185657264155f0fed645f2beb4f47aa2147e","_id":"i18n-ts@1.0.0","_shasum":"ff9bf874822714cbef74543e0fe603f8332be7ff","_from":".","_npmVersion":"4.1.0","_nodeVersion":"6.9.2","_npmUser":{"name":"sparkbit","email":"jedrek@sparkbit.pl"},"dist":{"shasum":"ff9bf874822714cbef74543e0fe603f8332be7ff","tarball":"https://registry.npmjs.org/i18n-ts/-/i18n-ts-1.0.0.tgz","fileCount":9,"unpackedSize":6418,"integrity":"sha512-B0gsy2LzATN7vtfao91VKpcQwZoQK/NW5HwA76nxZH+J43dRY21ckZRCuliynZ/zpb/j0YNlF46jq586uiq2fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExUMhsW5sArCznHvtBNRg8/asqdJnxkZYTfvEta4PAmAiEAmVc3fm1EvKzmYrGALy1PXU+OTvHYBgjJGllWXEMhLTY="}]},"maintainers":[{"name":"sparkbit","email":"jedrek@sparkbit.pl"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i18n-ts_1.0.0_1519229657967_0.8111915926063438"},"_hasShrinkwrap":false},"1.0.1":{"name":"i18n-ts","version":"1.0.1","description":"Type safe internationalization utility for TypeScript","main":"./lib/i18n.js","types":"./dts/i18n.d.ts","scripts":{"build":"npm run test && gulp build","test":"jasmine-ts \"test/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/sparkbitpl/i18n-ts.git"},"keywords":["i18n","TypeScript","internationalization"],"author":{"name":"Sparkbit"},"license":"MIT","bugs":{"url":"https://github.com/sparkbitpl/i18n-ts/issues"},"homepage":"https://github.com/sparkbitpl/i18n-ts#readme","dependencies":{"typescript":"2.7.1"},"devDependencies":{"@types/jasmine":"^2.8.6","del":"3.0.0","gulp":"3.9.1","gulp-if":"2.0.2","gulp-sourcemaps":"2.6.4","gulp-typescript":"3.2.4","jasmine":"^2.9.0","jasmine-ts":"^0.2.1","path":"0.12.7","run-sequence":"2.2.1","yargs":"11.0.0"},"gitHead":"254b185657264155f0fed645f2beb4f47aa2147e","_id":"i18n-ts@1.0.1","_shasum":"f38c204fb50057263520211bf03a959f638b8241","_from":".","_npmVersion":"4.1.0","_nodeVersion":"6.9.2","_npmUser":{"name":"sparkbit","email":"jedrek@sparkbit.pl"},"dist":{"shasum":"f38c204fb50057263520211bf03a959f638b8241","tarball":"https://registry.npmjs.org/i18n-ts/-/i18n-ts-1.0.1.tgz","fileCount":10,"unpackedSize":5432,"integrity":"sha512-nAIE1ncgz1+T7PgQtCNL+p1H4oWrfgxS2+NjQ0BS/Nde8xaHQSr3AfueJxQRVh5WDemrjYFpGgu1Fe5hCSqmmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYEcKCgVRKHG1aTaPQs2dPzSfFNqe3ZvCyywA9XbnatAIhAM2UJSXrzrMFLrSq3O9JvsQT0OAB2XeoyIu/L+hV1UOj"}]},"maintainers":[{"name":"sparkbit","email":"jedrek@sparkbit.pl"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i18n-ts_1.0.1_1519229962264_0.11542135981722357"},"_hasShrinkwrap":false},"1.0.2":{"name":"i18n-ts","version":"1.0.2","description":"Type safe internationalization utility for TypeScript","main":"./lib/i18n.js","types":"./dts/i18n.d.ts","scripts":{"build":"npm run test && gulp build","test":"jasmine-ts \"test/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/sparkbitpl/i18n-ts.git"},"keywords":["i18n","TypeScript","internationalization"],"author":{"name":"Sparkbit"},"license":"MIT","bugs":{"url":"https://github.com/sparkbitpl/i18n-ts/issues"},"homepage":"https://github.com/sparkbitpl/i18n-ts#readme","dependencies":{"typescript":"2.7.1"},"devDependencies":{"@types/jasmine":"^2.8.6","del":"3.0.0","gulp":"3.9.1","gulp-if":"2.0.2","gulp-sourcemaps":"2.6.4","gulp-typescript":"3.2.4","jasmine":"^2.9.0","jasmine-ts":"^0.2.1","path":"0.12.7","run-sequence":"2.2.1","yargs":"11.0.0"},"gitHead":"254b185657264155f0fed645f2beb4f47aa2147e","_id":"i18n-ts@1.0.2","_shasum":"684a79f584fea35a3a7e1aff8a837f59bb3459f7","_from":".","_npmVersion":"4.1.0","_nodeVersion":"6.9.2","_npmUser":{"name":"sparkbit","email":"jedrek@sparkbit.pl"},"dist":{"shasum":"684a79f584fea35a3a7e1aff8a837f59bb3459f7","tarball":"https://registry.npmjs.org/i18n-ts/-/i18n-ts-1.0.2.tgz","fileCount":10,"unpackedSize":5999,"integrity":"sha512-qnoLcHOJsypfBEOQcKqjybHd3uzTBMWOng8KcatZmGD1f6mx+VJCwFdT6EHg6my6N6l82jvpZ+vxTxBm7A9Yyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBECVmHx4OjBEmNP//MLi2L2OGs+/EyvfBh+cW7HTJ2mAiA/UI3b/9qNIblQZ88sHuCyG6ED97PNyin06jboP/yhtg=="}]},"maintainers":[{"name":"sparkbit","email":"jedrek@sparkbit.pl"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i18n-ts_1.0.2_1519392411022_0.2113632476223315"},"_hasShrinkwrap":false},"1.0.3":{"name":"i18n-ts","version":"1.0.3","description":"Type safe internationalization utility for TypeScript","main":"./lib/i18n.js","types":"./dts/i18n.d.ts","scripts":{"build":"npm run test && gulp build","test":"jasmine-ts \"test/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/sparkbitpl/i18n-ts.git"},"keywords":["i18n","TypeScript","internationalization"],"author":{"name":"Sparkbit"},"license":"MIT","bugs":{"url":"https://github.com/sparkbitpl/i18n-ts/issues"},"homepage":"https://github.com/sparkbitpl/i18n-ts#readme","dependencies":{},"devDependencies":{"@types/jasmine":"^2.8.16","del":"3.0.0","gulp":"4.0.0","gulp-if":"2.0.2","gulp-sourcemaps":"2.6.5","gulp-typescript":"5.0.0","jasmine":"2.9.0","jasmine-ts":"0.2.1","path":"0.12.7","typescript":"2.9.2","yargs":"11.0.0"},"gitHead":"41b02a17254e945602c9aa5bfaf6dc7edd3a9275","_id":"i18n-ts@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"sparkbit","email":"jedrek@sparkbit.pl"},"dist":{"integrity":"sha512-KedmwPgnLOPlchNlI/EvMvnlk74ZDP/TF0DBwNYUNs6mBhgrY93AOCaAPdNSP6ew075qCxgGQUDtg/thQt0Tsg==","shasum":"ef740e2039bfe0e0baec0a1dd9a2b3c5625b78e6","tarball":"https://registry.npmjs.org/i18n-ts/-/i18n-ts-1.0.3.tgz","fileCount":8,"unpackedSize":6108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchhkYCRA9TVsSAnZWagAAx14P/i+WD3N76ao79uFuWQIR\njvjJRMwwggRD1fNXez/vfmBfykotNTZOceGuU9EP6VwcSa6ak5KDrk9MA/kH\n693vSAufBPyicXokNYEZh9m4xf/9lb4L308kNUpcvz6szQPesKuzi5tQntzB\n4Hy/PzxNyJw95PjxWDJTDu6Ew9KimFCqpN08Ee6UaD6QlS1+28p1S276pc2/\nr5WJ5/s7RZHCqqK3b1GzL1HkSjY7kTwWYqhPMRzuWLV6vTgKx/L9LlD9YHFR\nhox/hLWWOUO2kbGcP5wvrxmCoREp37YFEeOsGWAwMUtQEcAgQ9eKj48ue0LA\n5i0EjdkaCsQTBtxZScvj8zmV76lwWk7MBtp/Wc5YN+Dr5NWTr51phXlqZBu+\n6vFzswO19G2vYzYZNVBRBvEuH9QdrbRrvylhd0eW19JvZjZ5NoZCPX/wvSa5\nTVl/9cczWqC8fE1mH6Lu8HGIPQb/RAUK17d8dUIz0FDOz52plYhIBNTj6rEP\n0k7okgVyBcI8VjTQ9bP6VjSIMrvdvgqfhV5Azevc4LWZYV3a3gUzIPlljVc4\ns0rN5ALEHLJn51k1CGFFk+UsKZJSVxAajXGexNA9XriJN5f3j5RvkZFF7Pl/\nSd47gZXRbS2+qhAgPTrduAPR+4Zae+eQZ6iEk7xz/XJsywfosqR6I78FJLqJ\nnUMc\r\n=X1yp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8mPyA+pZ87qQGc9bLNTWaZ4E9+n8/UktWS0kTzOUvNAiAio2CojvyY/PPYXnTB9DODa/0rLUc16exkAs8dc51bUQ=="}]},"maintainers":[{"name":"sparkbit","email":"jedrek@sparkbit.pl"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i18n-ts_1.0.3_1552292120026_0.5711093561370206"},"_hasShrinkwrap":false},"1.0.4":{"name":"i18n-ts","version":"1.0.4","description":"Type safe internationalization utility for TypeScript","main":"./lib/i18n.js","types":"./dts/i18n.d.ts","scripts":{"build":"npm run test && gulp build","test":"jasmine-ts \"test/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/sparkbitpl/i18n-ts.git"},"keywords":["i18n","TypeScript","internationalization"],"author":{"name":"Sparkbit"},"license":"MIT","bugs":{"url":"https://github.com/sparkbitpl/i18n-ts/issues"},"homepage":"https://github.com/sparkbitpl/i18n-ts#readme","dependencies":{},"devDependencies":{"@types/jasmine":"^2.8.16","del":"3.0.0","gulp":"4.0.0","gulp-if":"2.0.2","gulp-sourcemaps":"2.6.5","gulp-typescript":"5.0.0","jasmine":"2.9.0","jasmine-ts":"0.2.1","path":"0.12.7","typescript":"2.9.2","yargs":"11.0.0"},"gitHead":"2f6034920f692f610db93324d80435807ee28b13","_id":"i18n-ts@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"sparkbit","email":"jedrek@sparkbit.pl"},"dist":{"integrity":"sha512-aRXIr4SszM7cTWnFD/WmVccSkw/S6WobmktRL9UlgcqVkKpmSSEz5ks6DJ7wBYxR33pqCm8eKLw7gMvB5JHRHw==","shasum":"74c86b49d3ce6f5b37a0dee8f88ae36d06a495f4","tarball":"https://registry.npmjs.org/i18n-ts/-/i18n-ts-1.0.4.tgz","fileCount":14,"unpackedSize":8962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchkQrCRA9TVsSAnZWagAAUQ8P/R8hh6f7Wkj5p2bdk5gl\nBUpZJJmEKPnuti2DLyMBb7tKu4LpxeoAPM9kyrtOFYs62yLC7lN936KDpgWn\nH0e4tSxLoVYuAG+DVvSlA4zbQIOMPFi3IgFOJWEU0/S56h+qncZJvKOKYDYo\nQkaEkIdpZucktbk44CEgp3zmlGFaN24cDVD71HMlQYxf173bwt26nwbu+n9a\nRS0eYU+9fgzCvdwLz9LmAm99x65nl0IVy0UO9HzxIK3XLzZoQlgix5Ol+Uqh\nDWKXdIso43IgT6M0hQnWTZFooWtRrIobgvzmxYwdVTwhO/j45lkbqtTMdk+h\nSLgy2UwXe+AtKX3U8cFdDjFCHbHWvuiykjfZFrjBx0U3W1qWkEOsEeS1Y5yM\nmqanqfr12xGKk6fdqmRPA4iIzHQDcolxLOl/6gN4UPPzvN1tt9/4R+YztUzS\nOxRBCUsqp5AYv7CILswWgynbyi2vadsWNa9LMvJCLZM7WFSfH+wwsJ4lmDIz\npBPlTTCUR/Yb/Z/8AjpwDkWWIjOxfzQCZso2eJp5NL6PqO5pGhvaK8SOHJSw\nQclRYxAHPiOY+yMjreYfjRtKuuq8ezqSsiSx2HkDSJF1IIzx/8rTlpFWfirm\nN7c7IZHbpLOGcI8f7P07ng+DBLhZK3aATw4E+met9ULg9QMYhSfcV0l4ZrL+\nk2Hd\r\n=wEXn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6/D9TMIjA677OKMOD5yucVApMl4MMEK83UVdxEhwp7AiEA/RDkviti30VqMA+UTNR0VVxjH24Kd98Qyxnji/JhA9E="}]},"maintainers":[{"name":"sparkbit","email":"jedrek@sparkbit.pl"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i18n-ts_1.0.4_1552303146293_0.6806353153811702"},"_hasShrinkwrap":false},"1.0.5":{"name":"i18n-ts","version":"1.0.5","description":"Type safe internationalization utility for TypeScript","main":"./lib/i18n.js","types":"./dts/i18n.d.ts","scripts":{"build":"npm run test && gulp build","test":"jasmine-ts \"test/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/sparkbitpl/i18n-ts.git"},"keywords":["i18n","TypeScript","internationalization"],"author":{"name":"Sparkbit"},"license":"MIT","bugs":{"url":"https://github.com/sparkbitpl/i18n-ts/issues"},"homepage":"https://github.com/sparkbitpl/i18n-ts#readme","dependencies":{},"devDependencies":{"@types/jasmine":"^2.8.16","del":"3.0.0","gulp":"4.0.0","gulp-if":"2.0.2","gulp-sourcemaps":"2.6.5","gulp-typescript":"5.0.0","jasmine":"2.9.0","jasmine-ts":"0.2.1","path":"0.12.7","typescript":"2.9.2","yargs":"11.0.0"},"gitHead":"d279f981ea68d8c9a955b2c210cc9985042b844a","_id":"i18n-ts@1.0.5","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"sparkbit","email":"jedrek@sparkbit.pl"},"dist":{"integrity":"sha512-kWGMDn9aVcTMTVdLEJ4NM8y0sYN+awYDKm7UeH8tKiiTel8mNMeXb8sUwyL3DS5LXgzS6prJStqqjyRC213qig==","shasum":"6309b6443057608a918623b7bcfb09534fca786b","tarball":"https://registry.npmjs.org/i18n-ts/-/i18n-ts-1.0.5.tgz","fileCount":14,"unpackedSize":9534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm1GLCRA9TVsSAnZWagAAwk8P/ipovqbJZr50Y6Gm7+EA\nWe4mrupdH3LJfiDVSCpXBQsizvCz0lx+ASHr0QAwuqmspHnMZecknLECO1uZ\npPmkmLSGZlPTS9ih6Keug4pPEogY7/RNdiyY0CBsVUuw4JWxbONUcMudREWK\n+1pNvnug2CQWuWTugdh3OkjD2bL7OyeTOTQTLU6U/vNVgXbxcDymSUP6/Yg7\n8jaejpJHNlSpqoUWnAXyAENJl/cx6BaNDEViW4Z/dMd7/oH1S05aseH+HHz2\nQqfyHT3Sudejk3oL6aSFRjkKIMN89LYYWEzcvz0Oce/8d/1ofqJsRkAt/qMH\n4A3VqKBzxwCPcMBJr9Bywm7kZA1DrEmkvxzM8alzdCn7FYGC1WvKKwAisjkm\n1s/ryscOSfRrVc12GAhNJirFB2EQIghwlsupcjXgOFu24fPeiUhsYgfmBrBS\n2+1WcSBX1mKPHQ9MKGW69EfYcg21BFLvhkaQOlFSOvX5BifwiUai545DRi6L\n2aJzYCFnB2+hHYzArR8kstzrio7MxefKGDy9besTDVvfxkjWroaScBeb5FxD\nrilzUy7NOaIF94JkWhSC5mqUhVcGjakdsa9Y5dNWEYT9CGId2jdAI+E70j6X\ntX80ytSY74T+7AMK3Id53OZQW/OsoC3YS7YGYw2k0eCYKH2SLY+0F4DTh++d\nxF4R\r\n=ho0F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFERvuiAw3L8sLTltqMUtlVyraDAzCfqmuq3ZF49JAiiAiEA9q6kLtFa8q1uJcL+q4grk+TgYCjUZaHwtu/GP92dSeo="}]},"maintainers":[{"name":"sparkbit","email":"jedrek@sparkbit.pl"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i18n-ts_1.0.5_1553682826755_0.4723393550261976"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-21T16:14:17.966Z","1.0.0":"2018-02-21T16:14:18.047Z","modified":"2022-06-18T23:47:22.952Z","1.0.1":"2018-02-21T16:19:22.318Z","1.0.2":"2018-02-23T13:26:51.071Z","1.0.3":"2019-03-11T08:15:20.207Z","1.0.4":"2019-03-11T11:19:07.113Z","1.0.5":"2019-03-27T10:33:46.889Z"},"maintainers":[{"name":"sparkbit","email":"jedrek@sparkbit.pl"}],"description":"Type safe internationalization utility for TypeScript","homepage":"https://github.com/sparkbitpl/i18n-ts#readme","keywords":["i18n","TypeScript","internationalization"],"repository":{"type":"git","url":"git+https://github.com/sparkbitpl/i18n-ts.git"},"author":{"name":"Sparkbit"},"bugs":{"url":"https://github.com/sparkbitpl/i18n-ts/issues"},"license":"MIT","readme":"i18n-ts\n=======\n\nI18n-ts is a type safe internationalization utility for TypeScript. The i18n messages are defined as plain TypeScript objects:\n\n ```typescript\n\nconst en = {\n    hello: \"Hi!\"\n    greeting: (name: string) => `Hi ${name}`\n};\n\nconst de = {\n    hello: \"Hallo!\",\n    greeting: (name: string) => `Hallo ${name}`\n};\nconst i18n = {\n    en: en,\n    de: de,\n    default: en\n};\n\nconst messages = new I18nResolver(i18n, \"de\").translation;\n\n// TypeScript will infere the precise type of messages\nconsole.log(messages.hello);\n ```","readmeFilename":"README.md"}