Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next-absolute-package
Get root path package.json.
https://github.com/afeiship/next-absolute-package
absolute next package pkg root
Last synced: about 1 month ago
JSON representation
Get root path package.json.
- Host: GitHub
- URL: https://github.com/afeiship/next-absolute-package
- Owner: afeiship
- License: mit
- Created: 2020-01-02T10:57:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-09T07:41:53.000Z (about 4 years ago)
- Last Synced: 2024-11-15T08:00:20.329Z (2 months ago)
- Topics: absolute, next, package, pkg, root
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-absolute-package
> Get root path package.json.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```bash
npm install -S @jswork/next-absolute-package
```## usage
```js
import '@jswork/next-absolute-package';nx.absolutePackage(); // { ...the whole package.json ... }
nx.absolutePackage('publishConfig.registry'); // https://registry.npmjs.org/
```## license
Code released under [the MIT license](https://github.com/afeiship/next-absolute-package/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-absolute-package
[version-url]: https://npmjs.org/package/@jswork/next-absolute-package[license-image]: https://img.shields.io/npm/l/@jswork/next-absolute-package
[license-url]: https://github.com/afeiship/next-absolute-package/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-absolute-package
[size-url]: https://github.com/afeiship/next-absolute-package/blob/master/dist/next-absolute-package.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-absolute-package
[download-url]: https://www.npmjs.com/package/@jswork/next-absolute-package