update npm package name to adafruit-mpr121
This commit is contained in:
parent
06bef9c1b2
commit
4929e1a0ae
2 changed files with 4 additions and 5 deletions
|
|
@ -7,14 +7,13 @@ Access a [MPR121 breakout](https://www.adafruit.com/product/2024) using Node.js
|
||||||
This library requires [Node.js](https://nodejs.org/) v6.0.0 or higher.
|
This library requires [Node.js](https://nodejs.org/) v6.0.0 or higher.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ npm install adafruit/node_mpr121
|
$ npm install adafruit-mpr121
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const MPR121 = require('mpr121'),
|
const MPR121 = require('adafruit-mpr121'),
|
||||||
mpr121 = new MPR121(0x5A, 1);
|
mpr121 = new MPR121(0x5A, 1);
|
||||||
|
|
||||||
// listen for touch events
|
// listen for touch events
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "mpr121",
|
"name": "adafruit-mpr121",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Access a MPR121 from Node.js",
|
"description": "Access the MPR121 breakout from Node.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue