@tinyhttp/content-type
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "@tinyhttp/content-type", | ||
"description": "content-type rewrite in TypeScript and ESM", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"repository": "https://github.com/tinyhttp/content-type.git", | ||
"engines": { | ||
"node": ">=12.x" | ||
"node": ">=12.4" | ||
}, | ||
@@ -21,2 +21,3 @@ "files": [ | ||
"@typescript-eslint/parser": "^6.7.2", | ||
"c8": "^8.0.1", | ||
"eslint": "^8.50.0", | ||
@@ -30,5 +31,11 @@ "tsm": "^2.3.0", | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm --dts" | ||
"build": "tsup src/index.ts --format esm --dts", | ||
"test": "uvu -r tsm test", | ||
"test:coverage": "c8 --include=src pnpm test", | ||
"test:report": "c8 report --reporter=text-lcov > coverage.lcov" | ||
} | ||
} |
# @tinyhttp/content-type | ||
![Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@tinyhttp/content-type.svg?style=flat-square) | ||
[![Version](https://img.shields.io/npm/v/@tinyhttp/content-type.svg?style=flat-square)](https://npm.im/@tinyhttp/content-type) | ||
[![Version][v-badge-url]][npm-url] [![Downloads][dl-badge-url]][npm-url] [![GitHub Workflow Status][gh-actions-img]][github-actions] [![Codecov][cov-badge-url]][cov-url] | ||
@@ -76,1 +75,9 @@ > [`content-type`](https://github.com/jshttp/content-type) rewrite in TypeScript and ESM. | ||
Throws a `TypeError` if the object contains an invalid type or parameter names. | ||
[v-badge-url]: https://img.shields.io/npm/v/@tinyhttp/content-type.svg?style=for-the-badge&color=FF69B4&label=&logo=npm | ||
[npm-url]: https://www.npmjs.com/package/@tinyhttp/content-type | ||
[cov-badge-url]: https://img.shields.io/coveralls/github/tinyhttp/content-type?style=for-the-badge&color=FF69B4 | ||
[cov-url]: https://coveralls.io/github/tinyhttp/@tinyhttp/content-type | ||
[dl-badge-url]: https://img.shields.io/npm/dt/@tinyhttp/content-type?style=for-the-badge&color=FF69B4 | ||
[github-actions]: https://github.com/tinyhttp/content-type/actions | ||
[gh-actions-img]: https://img.shields.io/github/actions/workflow/status/tinyhttp/content-type/ci.yml?branch=master&style=for-the-badge&color=FF69B4&label=&logo=github |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8479
83
8