Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Rename module to hapi-json-api
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellmorten committed May 5, 2018
1 parent 25cdd43 commit c57d9df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
Hapi plugin for enabling/enforcing [JSON-API specification](http://jsonapi.org).

Original project transferred from [@wraithgar](https://github.com/wraithgar).
Was `@gar/hapi-json-api`.

[![Current Version](https://img.shields.io/npm/v/@gar/hapi-json-api.svg)](https://www.npmjs.org/package/@gar/hapi-json-api)
[![Current Version](https://img.shields.io/npm/v/hapi-json-api.svg)](https://www.npmjs.org/package/hapi-json-api)
[![Build Status](https://travis-ci.org/kjellmorten/hapi-json-api.svg?branch=master)](https://travis-ci.org/kjellmorten/hapi-json-api)
[![NSP Status](https://nodesecurity.io/orgs/laboreum/projects/933c42d1-7af0-4d0b-82b5-08c4915afe6b/badge)](https://nodesecurity.io/orgs/laboreum/projects/933c42d1-7af0-4d0b-82b5-08c4915afe6b)
[![Greenkeeper badge](https://badges.greenkeeper.io/kjellmorten/hapi-json-api.svg)](https://greenkeeper.io/)
Expand All @@ -20,7 +21,7 @@ We support Hapi 17 from version 3.x, and have dropped support for Node < 8.6.
### Installing

```shell
npm install @gar/hapi-json-api
npm install hapi-json-api
```

## Example of use
Expand All @@ -29,7 +30,7 @@ npm install @gar/hapi-json-api
//where server is a hapi server

server.register({
register: require('@gar/hapi-json-api')
register: require('hapi-json-api')
options: {}
});
```
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@gar/hapi-json-api",
"name": "hapi-json-api",
"version": "3.0.0",
"description": "Hapi plugin for enabling/enforcing JSONAPI specification",
"main": "lib/index.js",
Expand Down

0 comments on commit c57d9df

Please sign in to comment.