Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/njakob/parcel

Simple NPM package parser
https://github.com/njakob/parcel

flowtype helper library npm npm-package parser

Last synced: 17 days ago
JSON representation

Simple NPM package parser

Awesome Lists containing this project

README

        

# parcel [![NPM version](https://img.shields.io/npm/v/@njakob/parcel.svg)](https://nodei.co/npm/@njakob/parcel) [![Build Status](https://travis-ci.org/njakob/parcel.svg?branch=master)](https://travis-ci.org/njakob/parcel) [![Dependency Status](https://david-dm.org/njakob/parcel.svg)](https://david-dm.org/njakob/parcel) [![ESLint Config](https://img.shields.io/badge/eslint_config-njakob-463fd4.svg)](https://github.com/njakob/eslint-config) [![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org)

> NPM package parser.

## Features

* Flowtype definitions
* No dependency
* Simple API

## Installation

```
$ npm install @njakob/parcel
```
```
$ yarn add @njakob/parcel
```

## Usage

```js
import fs from 'fs';
import * as parcel from '@njakob/parcel';

const pkg = fs.readFileSync('package.json');

console.log(parcel.parseParcel(pkg));
```

## Changelog

See [changelog](CHANGELOG.md).

## Licences

`njakob/parcel` is licensed under the [MIT License](LICENSE).