git ssb

0+

wanderer🌟 / lockmap



Commit 01587eaf141302ad9c7d7c412205e3c0188dcd49

up[date standard]

Signed-off-by: wanderer <mjbecze@gmail.com>
wanderer committed on 8/16/2017, 4:09:30 PM
Parent: 38f718562e84b8cd2135ff0de9da998771d971c5

Files changed

.travis.ymlchanged
README.mdchanged
package.jsonchanged
tests/index.jschanged
.travis.ymlView
@@ -1,18 +1,10 @@
11 language: node_js
22 node_js:
33 - "8"
44 env:
5- global:
6- - CXX=g++-4.8
75 matrix:
86 - TEST_SUITE=test
9-addons:
10- apt:
11- sources:
12- - ubuntu-toolchain-r-test
13- packages:
14- - g++-4.8
157 matrix:
168 fast_finish: true
179 include:
1810 - os: linux
README.mdView
@@ -4,12 +4,12 @@
44 [![Coverage Status](https://img.shields.io/coveralls/wanderer/lockmap.svg?style=flat-square)](https://coveralls.io/r/wanderer/lockmap)
55
66 [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
77
8-Creates a map of locks to ids that can be used as a semaphore
8 +Creates a promise based map of locks that can be used as a semaphore
99
1010 # INSTALL
11-`npm install <name>`
11 +`npm install lockmap`
1212
1313 # USAGE
1414
1515 ```javascript
package.jsonView
@@ -1,8 +1,8 @@
11 {
2- "name": "name",
2 + "name": "lockmap",
33 "version": "0.0.0",
4- "description": "stuff",
4 + "description": "Creates a promise based map of locks that can be used as a semaphore",
55 "main": "index.js",
66 "scripts": {
77 "coverage": "istanbul cover ./tests/index.js",
88 "coveralls": "npm run coverage && coveralls <coverage/lcov.info",
@@ -10,26 +10,26 @@
1010 "test": "node ./tests/index.js",
1111 "build:docs": "documentation --github -f md ./index.js > ./docs/index.md"
1212 },
1313 "keywords": [
14 + ""
1415 ],
1516 "author": "mjbecze <mjbecze@gmail.com>",
1617 "license": "MPL-2.0",
1718 "dependencies": {
1819 },
1920 "devDependencies": {
20- "browserify": "^14.2.0",
2121 "coveralls": "^2.11.4",
22- "documentation": "^3.0.4",
22 + "documentation": "^5.2.0",
2323 "istanbul": "^0.4.1",
24- "standard": "^9.0.0",
24 + "standard": "^10.0.0",
2525 "tape": "^4.0.3"
2626 },
2727 "repository": {
2828 "type": "git",
29- "url": ""
29 + "url": "git@github.com:wanderer/lockmap.git"
3030 },
3131 "bugs": {
32- "url": ""
32 + "url": "https://github.com/wanderer/lockmap/issues"
3333 },
34- "homepage": ""
34 + "homepage": "https://github.com/wanderer/lockmap"
3535 }
tests/index.jsView
@@ -1,8 +1,8 @@
11 const tape = require('tape')
22 const LockMap = require('../')
33
4-tape('lockmap tests', async (t) => {
4 +tape('lockmap tests', async t => {
55 t.plan(2)
66 // create a new lock map
77 const lockmap = new LockMap()
88 const id = 'test'

Built with git-ssb-web