{"name":"@cspell/cspell-tools","version":"7.0.0","keywords":["cSpell","Word","List","Compiler"],"author":{"name":"Jason Dent"},"license":"MIT","_id":"@cspell/cspell-tools@7.0.0","maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"homepage":"https://github.com/streetsidesoftware/cspell#readme","bugs":{"url":"https://github.com/streetsidesoftware/cspell/labels/cspell-tools"},"bin":{"cspell-tools-cli":"bin.js"},"dist":{"shasum":"68f15655b6bc29df61a326a023620684d3c3be2f","tarball":"http://registry-npm.ywwl.com/@cspell/cspell-tools/download/@cspell/cspell-tools-7.0.0.tgz","fileCount":99,"integrity":"sha512-604VhzWzeZbVwVqwPBWQKjMQxenx+9ZQtJaslYoRAc6Kyt5OSPESk/4hAx/GC0SuWkPICldC+QlP90ZzadwWrA==","signatures":[{"sig":"MEYCIQDya9OMsLJ7aaJ0furY1H9vaNqjAFgXOt8SiFiqb09YYAIhAKa1/sr4u02sBtxo6+YZGpBKCsaz8pRx9NtafW1A3WUW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97496,"size":26827,"noattachment":false,"key":"/@cspell/cspell-tools/-/@cspell/cspell-tools-7.0.0.tgz"},"main":"bin.js","type":"module","engines":{"node":">=16"},"gitHead":"52960d5ed75655978f9b633f44fd106937a63cd7","scripts":{"test":"vitest run","build":"pnpm run build-schema && pnpm run compile","clean":"shx rm -rf dist temp coverage \"*.tsbuildInfo\"","watch":"tsc -p . -w","compile":"tsc -p .","coverage":"pnpm coverage:vitest","test:watch":"vitest","clean-build":"pnpm run clean && pnpm run build","build-schema":"ts-json-schema-generator --no-top-ref --path src/config/config.ts --type RunConfig --validation-keywords deprecated  -o  ./cspell-tools.config.schema.json","coverage:vitest":"vitest run --coverage","update-snapshot":"vitest run -u"},"_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"repository":{"url":"git+https://github.com/streetsidesoftware/cspell.git","type":"git"},"_npmVersion":"lerna/2.5.0/node@v18.17.0+x64 (linux)","description":"Tools to assist with the development of cSpell","directories":{},"_nodeVersion":"18.17.0","dependencies":{"glob":"^10.3.3","yaml":"^2.3.1","commander":"^11.0.0","cosmiconfig":"8.0.0","gensequence":"^5.0.2","cspell-trie-lib":"7.0.0","hunspell-reader":"7.0.0","@cspell/cspell-pipe":"7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shelljs":"^0.8.5","@types/glob":"^8.1.0","lorem-ipsum":"^2.0.8","@types/shelljs":"^0.8.12","ts-json-schema-generator":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/cspell-tools_7.0.0_1691662288138_0.45881816487234084","host":"s3://npm-registry-packages"},"readme":"# CSpell-Tools\n\nTools used to assist CSpell Development.\n\nThe Primary use of this tool is to build dictionaries used by cspell. This tool will convert a word list or a hunspell file into a file usable by cspell.\n\n## Install\n\n```sh\nnpm install -g @cspell/cspell-tools\n```\n\n## Usage\n\n```sh\ncspell-tools-cli --help\n```\n\nTo create a word list.\n\n```sh\ncspell-tools-cli compile keywords.txt -o ./dictionaries/\n```\n\nThis will filter the words from `keywords.txt` and write them to `./dictionaries/keywords.txt.gz`.\n\nTo create a trie file from a hunspell file.\n\n```sh\ncspell-tools-cli compile-trie english.dic\n```\n\nThis will read and expand the `english.dic` file based upon the rules in `english.aff` into a new file called `english.trie.gz`\n\nFor large files, this process can take a long time and us a lot of memory.\n\nThe tool `cspell-trie` can be used to read the contents of a `.trie` or `.trie.gz` file.\n\n## CSpell for Enterprise\n\n<!--- @@inject: ../../static/tidelift.md --->\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of cspell and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-cspell?utm_source=npm-cspell&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)\n\n<!--- @@inject-end: ../../static/tidelift.md --->\n\n<!--- @@inject: ../../static/footer.md --->\n\n<br/>\n\n---\n\n<p align=\"center\">Brought to you by<a href=\"https://streetsidesoftware.com\" title=\"Street Side Software\"><img width=\"16\" alt=\"Street Side Software Logo\" src=\"https://i.imgur.com/CyduuVY.png\" /> Street Side Software</a></p>\n\n<!--- @@inject-end: ../../static/footer.md --->\n","publish_time":1691662288348,"_cnpm_publish_time":1691662288348,"dist-tags":{"cspell5":"5.21.2","cspell5-next":"5.21.2-alpha.0","latest":"10.5.2","next":"10.4.0-alpha.1"}}