{"_rev":"27-47316dc13cc8a345d002209d7610afb2","time":{"created":"2023-05-09T17:24:39.629Z","0.0.1":"2018-09-13T19:57:25.678Z","modified":"2023-05-09T17:24:40.105Z","0.0.2":"2018-09-13T20:44:07.558Z","0.0.3":"2018-09-14T00:34:03.406Z","0.0.4":"2018-09-14T13:14:21.916Z","0.0.5":"2018-09-14T15:00:26.169Z","0.0.6":"2018-09-19T15:28:23.435Z","0.0.7":"2018-09-19T15:45:18.299Z","0.0.8":"2018-09-19T15:48:17.773Z","0.0.9":"2018-09-22T21:37:35.174Z","0.0.10":"2018-09-23T21:36:56.941Z","0.0.11":"2018-09-23T21:45:29.157Z","0.0.12":"2018-09-23T21:53:17.798Z","0.0.13":"2018-10-18T17:55:09.000Z","0.0.14":"2018-11-05T20:19:46.106Z","0.0.15":"2018-11-21T19:10:34.101Z","0.0.16":"2018-12-17T22:58:35.659Z","0.0.17":"2018-12-24T07:06:06.305Z","0.0.18":"2019-01-29T19:13:39.153Z","0.0.19":"2019-03-03T20:51:15.817Z","0.0.20":"2020-01-31T00:16:19.873Z","0.0.21":"2020-01-31T00:28:41.570Z","0.0.22":"2020-01-31T00:30:21.074Z","0.0.23":"2020-01-31T00:42:21.373Z","0.1.0":"2023-05-09T17:24:39.929Z"},"_id":"importable","name":"importable","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"$schema":"https://json.schemastore.org/package","name":"importable","version":"0.1.0","description":"Import files with strong typing based on import attributes","main":"lib/importable-tsconfig.cjs","module":"lib/importable-tsconfig.mjs","types":"lib/importable-tsconfig.d.ts","exports":{".":{"import":"./lib/importable-tsconfig.mjs","require":"./lib/importable-tsconfig.cjs","types":"./lib/importable-tsconfig.d.ts"},"./tsconfig":{"import":"./lib/importable-tsconfig.mjs","require":"./lib/importable-tsconfig.cjs","types":"./lib/importable-tsconfig.d.ts"}},"peerDependencies":{"typescript":"^5"},"devDependencies":{"@rollup/plugin-typescript":"11.1.0","rollup":"3.21.5"},"repository":{"type":"git","url":"git+https://github.com/importables/importable.git","directory":"packages/importable"},"homepage":"https://github.com/importables/importable/","bugs":{"url":"https://github.com/importables/importable/issues"},"author":{"name":"importables"},"license":"CC0-1.0","keywords":["assert","asserts","assertions","attribute","attributes","file","files","import","importable","imports","imports","plugin","javascript","js","jsconfig","rollup","rollup-plugin","strong","ts","tsconfig","type","typed","types","typescript","typescript-plugin","typing","vite","vite-plugin","with"],"gitHead":"f7fc27adbf5ce920abb54cb09e085e0f7ffb5975","_id":"importable@0.1.0","_nodeVersion":"18.4.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-KdtsjA+ifjamEgHOfR0CYI9VyIdIPalJwBPhkogSLqr6dsLlk/JgCbrfaITruZfc2V6wvBL1f/d2AWPOGuShlA==","shasum":"15fc16c57760404c3e1fc4600f655879252b6f9e","tarball":"https://registry.npmjs.org/importable/-/importable-0.1.0.tgz","fileCount":9,"unpackedSize":27766,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDonS9qlZ1Zt/vvuza4IkBEMgVoJ6c5gKPXIX+VV47N2wIhAIlVegTLhpHdTV1FMgsxcBmFUxiKbyfHUr4uupVF5NzZ"}]},"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/importable_0.1.0_1683653079705_0.7260905024121518"},"_hasShrinkwrap":false}},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"description":"Import files with strong typing based on import attributes","homepage":"https://github.com/importables/importable/","keywords":["assert","asserts","assertions","attribute","attributes","file","files","import","importable","imports","imports","plugin","javascript","js","jsconfig","rollup","rollup-plugin","strong","ts","tsconfig","type","typed","types","typescript","typescript-plugin","typing","vite","vite-plugin","with"],"repository":{"type":"git","url":"git+https://github.com/importables/importable.git","directory":"packages/importable"},"author":{"name":"importables"},"bugs":{"url":"https://github.com/importables/importable/issues"},"license":"CC0-1.0","readme":"# Importable\n\n**Importable** allows you to import files with strong typing based on import attributes (_presently import assertions_).\n\n```js\nimport config from './config.yml' assert { type: 'yaml' }\n\nconsole.assert(config.doe === 'a deer, a female deer')\n```\n\nInternally, **Importable** treats import assertions as thought they are [import attributes](https://github.com/tc39/proposal-import-attributes),\nin anticipation of the new import assertions syntax.\n\nOnce TypeScript supports import assertions, this plugin will provide an update to support the new syntax.\n\n## Installation\n\n```shell\nnpm install importable\n```\n\n```js\n{\n  \"compilerOptions\": {\n    \"plugins\": [\n      {\n        \"name\": \"importable\",\n        \"plugins\": []\n      }\n    ]\n  }\n}\n```\n\n## Plugins\n\n- **[Importable Document](https://github.com/importables/importable/tree/main/packages/importable-document)** allows you to import documents from different files.\n- **[Importable Machine](https://github.com/importables/importable/tree/main/packages/importable-machine)** allows you to import state machines from different files.\n- **[Importable YAML](https://github.com/importables/importable/tree/main/packages/importable-yaml)** allows you to import data from YAML files.\n\n## License\n\nCode original to this project is licensed under the CC0-1.0 License.\n","readmeFilename":"README.md"}