https://github.com/thebespokepixel/meta
Extract package metadata with consistent presentation
https://github.com/thebespokepixel/meta
metadata node-module npm package
Last synced: about 1 year ago
JSON representation
Extract package metadata with consistent presentation
- Host: GitHub
- URL: https://github.com/thebespokepixel/meta
- Owner: thebespokepixel
- License: mit
- Created: 2016-09-20T14:08:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-14T17:52:09.000Z (about 3 years ago)
- Last Synced: 2025-04-30T21:05:49.349Z (about 1 year ago)
- Topics: metadata, node-module, npm, package
- Language: JavaScript
- Homepage: https://thebespokepixel.github.io/meta/
- Size: 27.7 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 14
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# @thebespokepixel/meta
> Extract package metadata with consistent presentation.
##### Publishing Status
[](https://www.npmjs.com/package/@thebespokepixel/meta "npm") [](https://libraries.io/github/thebespokepixel/meta "Libraries.io")
[](https://travis-ci.com/thebespokepixel/meta "Travis") [](https://github.com/rollup/rollup/wiki/pkg.module "Rollup")
##### Development Status
[](https://travis-ci.com/thebespokepixel/meta "Travis") [](https://libraries.io/github/thebespokepixel/meta "Libraries.io")
[](https://snyk.io/test/github/thebespokepixel/meta "Snyk") [](https://codeclimate.com/github/thebespokepixel/meta/maintainability "Code-Climate") [](https://codeclimate.com/github/thebespokepixel/meta/test_coverage "Code-Climate Coverage")
##### Documentation/Help
[](https://inch-ci.org/github/thebespokepixel/meta "Inch.io") [](https://twitter.com/thebespokepixel "Twitter")
## Usage
#### Installation
```shell
npm install --save @thebespokepixel/meta
```
#### Setup
Import (or require) the module…
```javascript
import {dirname} from 'node:path'
import {fileURLToPath} from 'node:url'
import meta from '@thebespokepixel/meta'
const metadata = meta(dirname(fileURLToPath(import.meta.url))) // Start searching from inside this scripts module
```
## Documentation
Full documentation can be found at [https://thebespokepixel.github.io/meta/][1]
[1]: https://thebespokepixel.github.io/meta/