pkg-entry-points
Advanced tools
Comparing version 1.0.2 to 1.1.0
{ | ||
"name": "pkg-entry-points", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Get all entry-points for an npm package. Supports the `exports` field in `package.json`.", | ||
@@ -22,6 +22,6 @@ "keywords": [ | ||
}, | ||
"type": "module", | ||
"files": [ | ||
"dist" | ||
], | ||
"type": "module", | ||
"main": "./dist/index.cjs", | ||
@@ -28,0 +28,0 @@ "module": "./dist/index.mjs", |
@@ -5,4 +5,10 @@ # pkg-entry-points | ||
<sub>Found this package useful? Show your support & appreciation by [sponsoring](https://github.com/sponsors/privatenumber)! ❤️</sub> | ||
<br> | ||
<p align="center"> | ||
<a href="https://github.com/sponsors/privatenumber/sponsorships?tier_id=398771"><img width="412" src="https://raw.githubusercontent.com/privatenumber/sponsors/master/banners/assets/donate.webp"></a> | ||
<a href="https://github.com/sponsors/privatenumber/sponsorships?tier_id=397608"><img width="412" src="https://raw.githubusercontent.com/privatenumber/sponsors/master/banners/assets/sponsor.webp"></a> | ||
</p> | ||
<p align="center"><sup><i>Already a sponsor?</i> Join the discussion in the <a href="https://github.com/pvtnbr/pkg-entry-points">Development repo</a>!</sup></p> | ||
## Install | ||
@@ -24,2 +30,3 @@ | ||
console.log(packageExports) | ||
/* | ||
@@ -250,1 +257,8 @@ { | ||
</p> | ||
## Related | ||
### [resolve-pkg-maps](https://github.com/privatenumber/resolve-pkg-maps) | ||
Utils to resolve `package.json` subpath & conditional [`exports`](https://nodejs.org/api/packages.html#exports)/[`imports`](https://nodejs.org/api/packages.html#imports) maps in resolvers. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
16540
22
262