{"_id":"@avolgha/universal-types","_rev":"1-7cfafbcfdd631207cf74d0ac8aefaca9","name":"@avolgha/universal-types","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@avolgha/universal-types","version":"1.0.0","main":"src/index.js","type":"module","author":{"name":"avolgha"},"license":"BSD-3 Clause Clear","dependencies":{"universal-lexer":"^2.0.6"},"scripts":{},"description":"Create types ones, use anywhere.","_id":"@avolgha/universal-types@1.0.0","_integrity":"sha512-n4+KvCOzKPpYnce2dNLirrPE87TMVkyyU/oRndyjNpl3LE423HtzmDH3nBat3pfHuCAUgqkMrs1KXihXiDbyHg==","_resolved":"C:\\Users\\user\\AppData\\Local\\Temp\\ca22a9d80fd5823c206dee2de38fbd3b\\avolgha-universal-types-1.0.0.tgz","_from":"file:avolgha-universal-types-1.0.0.tgz","_nodeVersion":"20.3.1","_npmVersion":"8.7.0","dist":{"integrity":"sha512-n4+KvCOzKPpYnce2dNLirrPE87TMVkyyU/oRndyjNpl3LE423HtzmDH3nBat3pfHuCAUgqkMrs1KXihXiDbyHg==","shasum":"11f1f6f994682b644e2f231c9ae6fd62eb482a76","tarball":"https://registry.npmjs.org/@avolgha/universal-types/-/universal-types-1.0.0.tgz","fileCount":12,"unpackedSize":13689,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHx/K64M3Og+Xq/7MePAiz/HkxLcVBt6upSAQ7qBwqDqAiEA6BXoSK4oqui2673s5NgivzePD91Bufe3O+dLxhOLdg0="}]},"_npmUser":{"name":"avolgha","email":"avolgha@gmail.com"},"directories":{},"maintainers":[{"name":"avolgha","email":"avolgha@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-types_1.0.0_1698858890340_0.7294817909629703"},"_hasShrinkwrap":false},"1.0.1":{"name":"@avolgha/universal-types","version":"1.0.1","main":"src/index.js","type":"module","author":{"name":"avolgha","email":"avolgha@gmail.com","url":"github.com/avolgha"},"license":"BSD-3 Clause Clear","homepage":"https://github.com/avolgha/universal-types","repository":{"type":"git","url":"git+https://github.com/avolgha/universal-types.git"},"bugs":{"url":"https://github.com/avolgha/logs"},"dependencies":{"universal-lexer":"^2.0.6"},"scripts":{},"description":"Create types ones, use anywhere.","_id":"@avolgha/universal-types@1.0.1","_integrity":"sha512-XpsD7WUNAyaz4Eui/ImZFgdp6vaNCQG6yJuuqiQ67v84W3Mf0K5dhqq9/9Gnt37Jxhly9ESfjzoWbH6K2kfJFA==","_resolved":"C:\\Users\\user\\AppData\\Local\\Temp\\d28df082e06d6d79789465e4b0c25b4e\\avolgha-universal-types-1.0.1.tgz","_from":"file:avolgha-universal-types-1.0.1.tgz","_nodeVersion":"20.3.1","_npmVersion":"8.7.0","dist":{"integrity":"sha512-XpsD7WUNAyaz4Eui/ImZFgdp6vaNCQG6yJuuqiQ67v84W3Mf0K5dhqq9/9Gnt37Jxhly9ESfjzoWbH6K2kfJFA==","shasum":"bf74b9544e378b43b4c019fc9eec6ce62424e5c0","tarball":"https://registry.npmjs.org/@avolgha/universal-types/-/universal-types-1.0.1.tgz","fileCount":12,"unpackedSize":13958,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESXr7TjTtvnp2tAeTK+3cFsFrPZvGxDK86tw1Y6EX2WAiBG7F1pDj1RruwuTCpyxO85QEfOYPROTho8NA7dWX4/Kw=="}]},"_npmUser":{"name":"avolgha","email":"avolgha@gmail.com"},"directories":{},"maintainers":[{"name":"avolgha","email":"avolgha@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-types_1.0.1_1698859518839_0.5515398394051667"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-01T17:14:50.234Z","1.0.0":"2023-11-01T17:14:50.599Z","modified":"2023-11-01T17:25:19.232Z","1.0.1":"2023-11-01T17:25:19.034Z"},"maintainers":[{"name":"avolgha","email":"avolgha@gmail.com"}],"description":"Create types ones, use anywhere.","author":{"name":"avolgha","email":"avolgha@gmail.com","url":"github.com/avolgha"},"license":"BSD-3 Clause Clear","readme":"# Universal Types\r\n\r\nCreate types ones, use anywhere.\r\n\r\n## Usage\r\n\r\n1) Install the package via your package manager. (I use pnpm here)\r\n\r\n```shell\r\n$ pnpm add @avolgha/universal-types\r\n```\r\n\r\n2) After the installation, you can import the script from your JavaScript\r\n\r\n```javascript\r\nimport universalTypes from \"@avolgha/universal-types\";\r\nimport fs from \"fs\";\r\n\r\nuniversalTypes(\r\n  fs.readFileSync(\"types.ut\", \"utf-8\"),\r\n  \"ts\",\r\n  \"types.ts\"\r\n);\r\n```\r\n\r\n## TODO\r\n\r\nThere are many bottlenecks in this project. The main thing is that we currently\r\nonly support one programming language. If you like, you can add more languages\r\nyourself. Other things can be found here:\r\n\r\n- [ ] more programming languages\r\n- [ ] add documentation for `spec.yaml`\r\n- [ ] add cli to generate types (*help wanted!*)\r\n- [ ] editor support\r\n  - [ ] create a *good* syntax file for Sublime Text\r\n  - [ ] VS-Code\r\n  - [ ] Neovim / Vim\r\n- [ ] optimisation (*there should be many things you could optimise...*)\r\n","readmeFilename":"README.md","homepage":"https://github.com/avolgha/universal-types","repository":{"type":"git","url":"git+https://github.com/avolgha/universal-types.git"},"bugs":{"url":"https://github.com/avolgha/logs"}}