{"name":"@cspell/cspell-types","version":"8.17.0","keywords":["cspell","types"],"author":"Jason Dent","license":"MIT","_id":"@cspell/cspell-types@8.17.0","homepage":"https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-types#readme","dist":{"shasum":"e2ccc45765365820cd36d98aaf229ef1d31f64b2","tarball":"http://registry-npm.ywwl.com/@cspell/cspell-types/download/@cspell/cspell-types-8.17.0.tgz","fileCount":44,"integrity":"sha512-irrADI/GvabVTD9LRP/8mIH/bdoP7AOBgO7DVgNB+fZHDyJa/omzJjjie5kAZuen0l/3TrOadl3F+K0y/9AZ5A==","signatures":[{"sig":"MEQCIBUofm6u+pUEV+7DAbgd+22BdwulIeKAm7rPuFU4yxL9AiANBP4TuF0pLBKg+ROTF1mk1uJ5q5H/6uN4bNqaZIrSig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cspell%2fcspell-types@8.17.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":213611,"size":34210,"noattachment":false,"key":"/@cspell/cspell-types/-/@cspell/cspell-types-8.17.0.tgz"},"main":"./dist/index.js","type":"commonjs","types":"index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./Parser":{"import":"./dist/Parser/index.mjs","require":"./dist/Parser/index.js"},"./ajv.config.js":{"require":"./ajv.config.js"},"./cspell.schema.json":{"import":"./cspell.schema.json","require":"./cspell.schema.json"}},"gitHead":"cac17fe7b993db5965aa441648b1c22cb5486929","scripts":{"test":"vitest run","build":"pnpm build:tsc && pnpm run build-schema","clean":"shx rm -rf dist temp coverage \"*.tsbuildInfo\"","prepare":"echo Skip Building Types","coverage":"vitest run --coverage","build:tsc":"tsc -p tsconfig.json","clean-build":"pnpm run clean && pnpm run build","build-schema":"pnpm build-cspell-schema"},"_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"repository":{"url":"https://github.com/streetsidesoftware/cspell.git","type":"git","directory":"packages/cspell-types"},"_npmVersion":"lerna/3.10.1/node@v18.20.5+x64 (linux)","description":"Types for cspell and cspell-lib","directories":{},"sideEffects":false,"_nodeVersion":"18.20.5","publishConfig":{"access":"public","provenance":true},"typesVersions":{"*":{"*":["dist/*.d.ts","dist/*/index.d.ts"],"*.d.ts":["dist/*.d.ts"],"Parser":["dist/Parser/index.d.ts"],"*.d.mts":["dist/*.d.mts"],"index.d.ts":["dist/index.d.ts"],"dist/index.d.ts":["dist/index.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cspell-types_8.17.0_1734274554586_0.9999333456496464","host":"s3://npm-registry-packages-npm-production"},"readme":"# Cspell Types\n\nContains cspell types and json-schema.\n\nThis package contains no dependencies to avoid any security issues.\n\n## Support Future Development\n\n<!--- @@inject: ../../static/sponsor.md --->\n\nIf our spell checkers save you time, please consider supporting their development.\n\n<p align=\"left\">\n  <a href=\"https://github.com/sponsors/streetsidesoftware\" title=\"GitHub Sponsor\"><picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cspell.org/img/sponsor/github-sponsor-dark.png\" /><img alt=\"GitHub Sponsor\" src=\"https://cspell.org/img/sponsor/github-sponsor.png\" width=\"180\" /></picture></a> &nbsp; <a href=\"https://www.paypal.com/donate/?hosted_button_id=26LNBP2Q6MKCY\" title=\"PayPal\"><picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cspell.org/img/sponsor/paypal-dark.png\" /><img alt=\"PayPal\" src=\"https://cspell.org/img/sponsor/paypal.png\" width=\"180\" /></picture></a> &nbsp; <a href=\"https://opencollective.com/cspell\" title=\"Open Collective\"><picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cspell.org/img/sponsor/open-collective-dark.png\" /><img alt=\"Open Collective\" src=\"https://cspell.org/img/sponsor/open-collective.png\" width=\"180\" /></picture></a> &nbsp; <a href=\"https://streetsidesoftware.com/sponsor/\" title=\"Street Side Software\"><picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cspell.org/img/sponsor/cspell-dark.png\" /><img alt=\"CSpell\" src=\"https://cspell.org/img/sponsor/cspell.png\" width=\"180\" /></picture></a>\n</p>\n\n<!--- @@inject-end: ../../static/sponsor.md --->\n\n## Installation\n\n```\nnpm i -S @cspell/cspell-types\n```\n\n## Usage\n\nCan be used to make writing `cspell.config.js` files easier.\n\n```js\n'use strict';\n\n/** @type { import(\"@cspell/cspell-types\").CSpellUserSettings } */\nconst cspell = {\n  description: 'cspell.config.js file in samples/js-config',\n  languageSettings: [\n    {\n      languageId: 'cpp',\n      allowCompoundWords: false,\n      patterns: [\n        {\n          name: 'pound-includes',\n          pattern: /^\\s*#include.*/g\n        }\n      ],\n      ignoreRegExpList: ['pound-includes']\n    }\n  ],\n  dictionaryDefinitions: [\n    {\n      name: 'custom-words',\n      path: './custom-words.txt'\n    }\n  ],\n  dictionaries: ['custom-words']\n};\n\nmodule.exports = cspell;\n```\n\n## API\n\n`CSpellSettings` (aliased as `CSpellUserSettings`) is the formal definition of the configuration that controls the spell checker.\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":1734274554809,"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_cnpm_publish_time":1734274554809,"dist-tags":{"cspell5":"5.21.2","cspell5-next":"5.21.2-alpha.0","latest":"10.4.1","next":"10.4.0-alpha.1"}}