{"name":"@cspell/cspell-types","version":"8.2.3","keywords":["cspell","types"],"author":{"name":"Jason Dent"},"license":"MIT","_id":"@cspell/cspell-types@8.2.3","maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"homepage":"https://github.com/streetsidesoftware/cspell#readme","bugs":{"url":"https://github.com/streetsidesoftware/cspell/issues"},"dist":{"shasum":"39dded504b053c8cb886b51bb0a0e9d17903b8f5","tarball":"http://registry-npm.ywwl.com/@cspell/cspell-types/download/@cspell/cspell-types-8.2.3.tgz","fileCount":34,"integrity":"sha512-AZIC1n7veQSylp9ZAcVDvIaY+oS/vpzFNJ77rzuhEy/B6X/9jzeI8wg/+vWkmhO59q4iF/ZlswWK3UXfeSnUFg==","signatures":[{"sig":"MEUCIGWMjirbQi6E1ozl/2U2Eh1NB1I4XJJyVLULaZvyYQgIAiEAg7mn69m6T/SPeYkFMSdG+cWY/agjsXMWLANW4HBsLAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":194960,"size":31256,"noattachment":false,"key":"/@cspell/cspell-types/-/@cspell/cspell-types-8.2.3.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":"e3098b21e0a199d61226f8ff4989d48b385eddfa","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":"git+https://github.com/streetsidesoftware/cspell.git","type":"git"},"_npmVersion":"lerna/3.1.0/node@v18.19.0+x64 (linux)","description":"Types for cspell and cspell-lib","directories":{},"sideEffects":false,"_nodeVersion":"18.19.0","publishConfig":{"access":"public"},"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.2.3_1703230801227_0.028866006918410347","host":"s3://npm-registry-packages"},"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\n- [![GitHub Sponsors](https://img.shields.io/badge/-black?style=social&logo=githubsponsors&label=GitHub%20Sponsor%3A%20Street%20Side%20Software)](https://github.com/sponsors/streetsidesoftware)\n- [![Patreon](https://img.shields.io/badge/-black?style=social&logo=patreon&label=Patreon%3A%20Street%20Side%20Software)](https://patreon.com/streetsidesoftware)\n- [![PayPal](https://img.shields.io/badge/-black?style=social&logo=paypal&label=PayPal%20Donate%3A%20Street%20Side%20Software)](https://www.paypal.com/donate/?hosted_button_id=26LNBP2Q6MKCY)\n- [![Open Collective](https://img.shields.io/badge/-black?style=social&logo=opencollective&label=Open%20Collective%3A%20CSpell)](https://opencollective.com/cspell)\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 use 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` alias `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":1703230801401,"_cnpm_publish_time":1703230801401,"dist-tags":{"cspell5":"5.21.2","cspell5-next":"5.21.2-alpha.0","latest":"10.4.1","next":"10.4.0-alpha.1"}}