Skip to content

Commit d35bb82

Browse files
author
Travis CI User
committed
[ci skip] npm published
1 parent eafb796 commit d35bb82

File tree

7 files changed

+421
-1
lines changed

7 files changed

+421
-1
lines changed

LICENSE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License (https://opensource.org/licenses/MIT)
2+
3+
Copyright 2014 Kai Zhu ([email protected])
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# npmdoc-abbrev
2+
3+
#### api documentation for [abbrev (v1.1.0)](https://github.com/isaacs/abbrev-js#readme) [![npm package](https://img.shields.io/npm/v/npmdoc-abbrev.svg?style=flat-square)](https://www.npmjs.org/package/npmdoc-abbrev) [![travis-ci.org build-status](https://api.travis-ci.org/npmdoc/node-npmdoc-abbrev.svg)](https://travis-ci.org/npmdoc/node-npmdoc-abbrev)
4+
5+
#### Like ruby's abbrev module, but in js
6+
7+
[![NPM](https://nodei.co/npm/abbrev.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/abbrev)
8+
9+
- [https://npmdoc.github.io/node-npmdoc-abbrev/build/apidoc.html](https://npmdoc.github.io/node-npmdoc-abbrev/build/apidoc.html)
10+
11+
[![apidoc](https://npmdoc.github.io/node-npmdoc-abbrev/build/screenCapture.buildCi.browser.%252Ftmp%252Fbuild%252Fapidoc.html.png)](https://npmdoc.github.io/node-npmdoc-abbrev/build/apidoc.html)
12+
13+
![npmPackageListing](https://npmdoc.github.io/node-npmdoc-abbrev/build/screenCapture.npmPackageListing.svg)
14+
15+
![npmPackageDependencyTree](https://npmdoc.github.io/node-npmdoc-abbrev/build/screenCapture.npmPackageDependencyTree.svg)
16+
17+
18+
19+
# package.json
20+
21+
```json
22+
23+
{
24+
"author": {
25+
"name": "Isaac Z. Schlueter"
26+
},
27+
"bugs": {
28+
"url": "https://github.com/isaacs/abbrev-js/issues"
29+
},
30+
"dependencies": {},
31+
"description": "Like ruby's abbrev module, but in js",
32+
"devDependencies": {
33+
"tap": "^10.1"
34+
},
35+
"directories": {},
36+
"dist": {
37+
"shasum": "d0554c2256636e2f56e7c2e5ad183f859428d81f",
38+
"tarball": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz"
39+
},
40+
"files": [
41+
"abbrev.js"
42+
],
43+
"gitHead": "7136d4d95449dc44115d4f78b80ec907724f64e0",
44+
"homepage": "https://github.com/isaacs/abbrev-js#readme",
45+
"license": "ISC",
46+
"main": "abbrev.js",
47+
"maintainers": [
48+
{
49+
"name": "isaacs"
50+
}
51+
],
52+
"name": "abbrev",
53+
"optionalDependencies": {},
54+
"repository": {
55+
"type": "git",
56+
"url": "git+ssh://[email protected]/isaacs/abbrev-js.git"
57+
},
58+
"scripts": {
59+
"postpublish": "git push origin --all; git push origin --tags",
60+
"postversion": "npm publish",
61+
"preversion": "npm test",
62+
"test": "tap test.js --100"
63+
},
64+
"version": "1.1.0"
65+
}
66+
```
67+
68+
69+
70+
# misc
71+
- this document was created with [utility2](https://github.com/kaizhu256/node-utility2)

assets.npmdoc_abbrev.rollup.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/* istanbul instrument in package npmdoc_abbrev */
2+
/*jslint
3+
bitwise: true,
4+
browser: true,
5+
maxerr: 8,
6+
maxlen: 96,
7+
node: true,
8+
nomen: true,
9+
regexp: true,
10+
stupid: true
11+
*/
12+
(function () {
13+
'use strict';
14+
var local;
15+
16+
17+
18+
// run shared js-env code - pre-init
19+
(function () {
20+
// init local
21+
local = {};
22+
// init modeJs
23+
local.modeJs = (function () {
24+
try {
25+
return typeof navigator.userAgent === 'string' &&
26+
typeof document.querySelector('body') === 'object' &&
27+
typeof XMLHttpRequest.prototype.open === 'function' &&
28+
'browser';
29+
} catch (errorCaughtBrowser) {
30+
return module.exports &&
31+
typeof process.versions.node === 'string' &&
32+
typeof require('http').createServer === 'function' &&
33+
'node';
34+
}
35+
}());
36+
// init global
37+
local.global = local.modeJs === 'browser'
38+
? window
39+
: global;
40+
// init utility2_rollup
41+
local = local.global.utility2_rollup || local;
42+
// init lib
43+
local.local = local.npmdoc_abbrev = local;
44+
// init exports
45+
if (local.modeJs === 'browser') {
46+
local.global.utility2_npmdoc_abbrev = local;
47+
} else {
48+
module.exports = local;
49+
module.exports.__dirname = __dirname;
50+
module.exports.module = module;
51+
}
52+
}());
53+
}());

lib.npmdoc_abbrev.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/* istanbul instrument in package npmdoc_abbrev */
2+
/*jslint
3+
bitwise: true,
4+
browser: true,
5+
maxerr: 8,
6+
maxlen: 96,
7+
node: true,
8+
nomen: true,
9+
regexp: true,
10+
stupid: true
11+
*/
12+
(function () {
13+
'use strict';
14+
var local;
15+
16+
17+
18+
// run shared js-env code - pre-init
19+
(function () {
20+
// init local
21+
local = {};
22+
// init modeJs
23+
local.modeJs = (function () {
24+
try {
25+
return typeof navigator.userAgent === 'string' &&
26+
typeof document.querySelector('body') === 'object' &&
27+
typeof XMLHttpRequest.prototype.open === 'function' &&
28+
'browser';
29+
} catch (errorCaughtBrowser) {
30+
return module.exports &&
31+
typeof process.versions.node === 'string' &&
32+
typeof require('http').createServer === 'function' &&
33+
'node';
34+
}
35+
}());
36+
// init global
37+
local.global = local.modeJs === 'browser'
38+
? window
39+
: global;
40+
// init utility2_rollup
41+
local = local.global.utility2_rollup || local;
42+
// init lib
43+
local.local = local.npmdoc_abbrev = local;
44+
// init exports
45+
if (local.modeJs === 'browser') {
46+
local.global.utility2_npmdoc_abbrev = local;
47+
} else {
48+
module.exports = local;
49+
module.exports.__dirname = __dirname;
50+
module.exports.module = module;
51+
}
52+
}());
53+
}());

package.json

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,39 @@
1-
{ "devDependencies": { "abbrev": "*", "electron-lite": "kaizhu256/node-electron-lite#alpha", "utility2": "kaizhu256/node-utility2#alpha" }, "name":"npmdoc-abbrev", "homepage": "https://github.com/npmdoc/node-npmdoc-abbrev", "repository": { "type": "git", "url": "https://github.com/npmdoc/node-npmdoc-abbrev.git" }, "scripts": { "build-ci": "utility2 shReadmeTest build_ci.sh" }, "version": "0.0.1" }
1+
{
2+
"author": "kai zhu <[email protected]>",
3+
"description": "#### api documentation for [abbrev (v1.1.0)](https://github.com/isaacs/abbrev-js#readme) [![npm package](https://img.shields.io/npm/v/npmdoc-abbrev.svg?style=flat-square)](https://www.npmjs.org/package/npmdoc-abbrev) [![travis-ci.org build-status](https://api.travis-ci.org/npmdoc/node-npmdoc-abbrev.svg)](https://travis-ci.org/npmdoc/node-npmdoc-abbrev)",
4+
"devDependencies": {
5+
"abbrev": "*",
6+
"electron-lite": "kaizhu256/node-electron-lite#alpha",
7+
"utility2": "kaizhu256/node-utility2#alpha"
8+
},
9+
"engines": {
10+
"node": ">=4.0"
11+
},
12+
"homepage": "https://github.com/npmdoc/node-npmdoc-abbrev",
13+
"keywords": [
14+
"documentation",
15+
"abbrev"
16+
],
17+
"license": "MIT",
18+
"main": "lib.npmdoc_abbrev.js",
19+
"name": "npmdoc-abbrev",
20+
"nameAlias": "npmdoc_abbrev",
21+
"nameOriginal": "npmdoc-abbrev",
22+
"os": [
23+
"darwin",
24+
"linux"
25+
],
26+
"repository": {
27+
"type": "git",
28+
"url": "https://github.com/npmdoc/node-npmdoc-abbrev.git"
29+
},
30+
"scripts": {
31+
"build-ci": "utility2 shReadmeTest build_ci.sh",
32+
"env": "env",
33+
"heroku-postbuild": "npm install \"kaizhu256/node-utility2#alpha\" && utility2 shDeployHeroku",
34+
"postinstall": "[ ! -f npm_scripts.sh ] || ./npm_scripts.sh postinstall",
35+
"start": "PORT=${PORT:-8080} utility2 start test.js",
36+
"test": "(set -e; export PORT=$(utility2 shServerPortRandom); utility2 test test.js)"
37+
},
38+
"version": "0.0.1"
39+
}

0 commit comments

Comments
 (0)