rename @notweb/i2c to node-web-i2c

This commit is contained in:
Nebel 2019-10-18 21:41:11 +09:00
parent 4377f96c58
commit b13125daec
3 changed files with 25 additions and 10 deletions

View file

@ -1,11 +1,11 @@
# @notweb/i2c
# node-web-i2c
I2C access with Node.js
## Usage
```js
const { requestI2CAccess } = require("@notweb/i2c");
const { requestI2CAccess } = require("node-web-i2c");
const ADT7410_ADDR = 0x48;

View file

@ -1,11 +1,11 @@
{
"name": "@notweb/i2c",
"name": "node-web-i2c",
"version": "0.0.1",
"description": "I2C access with Node.js",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/kou029w/notweb-i2c.git"
"url": "https://github.com/kou029w/node-web-i2c.git"
},
"author": "Kohei Watanabe <kou029w@gmail.com>",
"license": "MIT",
@ -16,10 +16,25 @@
"i2c-bus": "^5.1.0"
},
"devDependencies": {
"@types/node": "^12.7.12",
"@types/node": "^12.11.1",
"typescript": "^3.6.4"
},
"scripts": {
"build": "tsc"
}
},
"keywords": [
"hardware",
"i2c",
"iot",
"linux",
"pi",
"raspberry",
"raspberry pi",
"raspi",
"robot",
"robotics",
"robots",
"rpi",
"smbus"
]
}

View file

@ -2,10 +2,10 @@
# yarn lockfile v1
"@types/node@^12.7.12":
version "12.7.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.12.tgz#7c6c571cc2f3f3ac4a59a5f2bd48f5bdbc8653cc"
integrity sha512-KPYGmfD0/b1eXurQ59fXD1GBzhSQfz6/lKBxkaHX9dKTzjXbK68Zt7yGUxUsCS1jeTy/8aL+d9JEr+S54mpkWQ==
"@types/node@^12.11.1":
version "12.11.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.11.1.tgz#1fd7b821f798b7fa29f667a1be8f3442bb8922a3"
integrity sha512-TJtwsqZ39pqcljJpajeoofYRfeZ7/I/OMUQ5pR4q5wOKf2ocrUvBAZUMhWsOvKx3dVc/aaV5GluBivt0sWqA5A==
bindings@^1.5.0:
version "1.5.0"