source: frontend/node_modules/@istanbuljs/schema/README.md

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 1.5 KB
Line 
1# @istanbuljs/schema
2
3[![NPM Version][npm-image]][npm-url]
4[![NPM Downloads][downloads-image]][downloads-url]
5[![MIT][license-image]](LICENSE)
6
7Schemas describing various structures used by nyc and istanbuljs
8
9## Usage
10
11```js
12const {nyc} = require('@istanbuljs/schema').defaults;
13
14console.log(`Default exclude list:\n\t* ${nyc.exclude.join('\n\t* ')}`);
15```
16
17## Testing
18
19- **Runtime support**: See `engines.node` in `package.json` (currently `>=8`).
20- **Running tests**: Requires **Node.js >=22.3.0** (uses `node:test` snapshot testing via `t.assert.snapshot`).
21
22```bash
23npm test
24```
25
26To update snapshots:
27
28```bash
29npm run test:update-snapshots
30```
31
32## `@istanbuljs/schema` for enterprise
33
34Available as part of the Tidelift Subscription.
35
36The maintainers of `@istanbuljs/schema` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-istanbuljs-schema?utm_source=npm-istanbuljs-schema&utm_medium=referral&utm_campaign=enterprise)
37
38[npm-image]: https://img.shields.io/npm/v/@istanbuljs/schema.svg
39[npm-url]: https://npmjs.org/package/@istanbuljs/schema
40[downloads-image]: https://img.shields.io/npm/dm/@istanbuljs/schema.svg
41[downloads-url]: https://npmjs.org/package/@istanbuljs/schema
42[license-image]: https://img.shields.io/npm/l/@istanbuljs/schema.svg
Note: See TracBrowser for help on using the repository browser.