open-index/open-npm huggingface dataset:
npm package: @parch-js/json-serializer
Description: JSONSerializer for parch to normalize request/response
Author: Dylan Foster
Latest version: 0.0.2

# json-serializer

[![Build Status](https://travis-ci.org/parch-js/json-serializer.svg?branch=master)](https://travis-ci.org/parch-js/json-serializer)
[![Coverage Status](https://coveralls.io/repos/github/parch-js/json-serializer/badge.svg?branch=master)](https://coveralls.io/github/parch-js/json-serializer?branch=master)
[![bitHound Overall Score](https://www.bithound.io/github/parch-js/json-serializer/badges/score.svg)](https://www.bithound.io/github/parch-js/json-serializer)

## Installation

`npm install --save @parch-js/json-serializer`

## Usage

```javascript
import JSONSerializer from "@parch-js/json-serializer";

export default class FooSerializer extends JSONSerializer {};
```
npm package: @parch-js/orm
Description: ORM for parch providing record DSL
Author: Dylan Foster
Latest version: 0.0.4

# ORM

[![Build Status](https://travis-ci.org/parch-js/orm.svg?branch=develop)](https://travis-ci.org/parch-js/orm)
[![Coverage Status](https://coveralls.io/repos/github/parch-js/orm/badge.svg?branch=develop)](https://coveralls.io/github/parch-js/orm?branch=develop)
[![bitHound Overall Score](https://www.bithound.io/github/parch-js/orm/badges/score.svg)](https://www.bithound.io/github/parch-js/orm)

> Simple DSL for accessing data stored in a SQL store.

## Installation

`npm install --save @parch-js/orm`

## Usage

Models passed to the constructor must come from a [sequelize](http://docs.sequelizejs.com/en/v3/) definition

```javascript
import ORM from "@parch-js/orm";

const orm = new ORM({
  User: SequelizeDefinedUserModel
});

return orm.findAll("user",
  { firstName: "foo" },
  { attributes: ["firstName"] }
).then(users => {});

return orm.findOne("user", 1,
  { attributes: ["firstName"] }
)then(user => {});

return orm.queryRecord("user",
  { firstName: "foo" },
  { attributes: ["firstName"] }
).then(user => {});

return orm.createRecord("user", { firstName: "bar"}).then(user => {});
return orm.updateRecord("user", 1, { firstName: "baz" }).then(user => {});
return orm.destroyRecord("user", 1).then(() => {});
```

[Read the docs](https://parch-js.github.io/orm/docs) for more in depth usage.
npm package: @parch-js/rest-serializer
Description: RestSerializer for parch to normalize request/response
Author: Dylan Foster
Latest version: 0.1.3

# rest-serializer

[![Build Status](https://travis-ci.org/parch-js/rest-serializer.svg?branch=master)](https://travis-ci.org/parch-js/rest-serializer)
[![Coverage Status](https://coveralls.io/repos/github/parch-js/rest-serializer/badge.svg?branch=develop)](https://coveralls.io/github/parch-js/rest-serializer?branch=develop)
[![bitHound Overall Score](https://www.bithound.io/github/parch-js/rest-serializer/badges/score.svg)](https://www.bithound.io/github/parch-js/rest-serializer)

## Installation

`npm install --save @parch-js/rest-serializer`

## Usage

```typescript
import RestSerializer from "@parch-js/rest-serializer";

export default class FooSerializer extends RestSerializer {};
```