@teamteanpm2024/vero-delectus-reprehenderit
v1.0.4
Published
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Downloads
10
Maintainers
Keywords
Readme
@teamteanpm2024/vero-delectus-reprehenderit
Validate an object in the "exports" field.
Example
const assert = require('assert');
const validateExportsObject = require('@teamteanpm2024/vero-delectus-reprehenderit');
const pkg = require('./package.json');
const results = validateExportsObject(pkg.exports);
assert.deepEqual(
results,
{
__proto__: null,
normalized: {
__proto__: null,
'.': './index.js',
'./package.json': './package.json'
},
problems: [],
status: 'files'
}
);
Tests
Simply clone the repo, npm install
, and run npm test
Security
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.