rename @notweb/gpio to node-web-gpio

This commit is contained in:
Nebel 2019-10-18 21:16:23 +09:00
parent dc725303bd
commit 1eca0efb67
3 changed files with 25 additions and 11 deletions

View file

@ -1,11 +1,11 @@
# @notweb/gpio # node-web-gpio
GPIO access with Node.js GPIO access with Node.js
## Usage ## Usage
```js ```js
const { requestGPIOAccess } = require("@notweb/gpio"); const { requestGPIOAccess } = require("node-web-gpio");
const { promisify } = require("util"); const { promisify } = require("util");
const sleep = promisify(setTimeout); const sleep = promisify(setTimeout);

View file

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

View file

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