1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 21:00:04 +02:00

add node modules to repo

This commit is contained in:
s2
2018-06-03 13:47:11 +02:00
parent e8c95255e8
commit d002126b72
4115 changed files with 440218 additions and 7519 deletions

View File

@@ -1,6 +1,6 @@
component
build
node_modules
test.js
component.json
component
build
node_modules
test.js
component.json
.gitignore

View File

@@ -1,5 +1,5 @@
module.exports = isPromise;
function isPromise(obj) {
return obj && typeof obj.then === 'function';
module.exports = isPromise;
function isPromise(obj) {
return obj && typeof obj.then === 'function';
}

View File

@@ -1,36 +1,40 @@
{
"_from": "is-promise@~1.0.0",
"_args": [
[
"is-promise@1.0.1",
"/home/s2/Documents/Code/gitlit/app"
]
],
"_development": true,
"_from": "is-promise@1.0.1",
"_id": "is-promise@1.0.1",
"_inBundle": false,
"_integrity": "sha1-MVc3YcBX4zwukaq56W2gjO++duU=",
"_location": "/is-promise",
"_phantomChildren": {},
"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "is-promise@~1.0.0",
"raw": "is-promise@1.0.1",
"name": "is-promise",
"escapedName": "is-promise",
"rawSpec": "~1.0.0",
"rawSpec": "1.0.1",
"saveSpec": null,
"fetchSpec": "~1.0.0"
"fetchSpec": "1.0.1"
},
"_requiredBy": [
"/nodeify",
"/promise"
],
"_resolved": "https://registry.npmjs.org/is-promise/-/is-promise-1.0.1.tgz",
"_shasum": "31573761c057e33c2e91aab9e96da08cefbe76e5",
"_spec": "is-promise@~1.0.0",
"_where": "E:\\projects\\p\\gitlit\\app\\node_modules\\nodeify",
"_spec": "1.0.1",
"_where": "/home/s2/Documents/Code/gitlit/app",
"author": {
"name": "ForbesLindesay"
},
"bugs": {
"url": "https://github.com/then/is-promise/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Test whether an object looks like a promises-a+ promise",
"devDependencies": {
"better-assert": "~0.1.0",

View File

@@ -1,29 +1,29 @@
<a href="http://promises-aplus.github.com/promises-spec"><img src="http://promises-aplus.github.com/promises-spec/assets/logo-small.png" align="right" /></a>
# is-promise
Test whether an object looks like a promises-a+ promise
[![Build Status](https://img.shields.io/travis/then/is-promise/master.svg)](https://travis-ci.org/then/is-promise)
[![Dependency Status](https://img.shields.io/gemnasium/then/is-promise.svg)](https://gemnasium.com/then/is-promise)
[![NPM version](https://img.shields.io/npm/v/is-promise.svg)](https://www.npmjs.org/package/is-promise)
## Installation
$ npm install is-promise
You can also use it client side via npm.
## API
```javascript
var isPromise = require('is-promise');
isPromise({then:function () {...}});//=>true
isPromise(null);//=>false
isPromise({});//=>false
isPromise({then: true})//=>false
```
## License
MIT
<a href="http://promises-aplus.github.com/promises-spec"><img src="http://promises-aplus.github.com/promises-spec/assets/logo-small.png" align="right" /></a>
# is-promise
Test whether an object looks like a promises-a+ promise
[![Build Status](https://img.shields.io/travis/then/is-promise/master.svg)](https://travis-ci.org/then/is-promise)
[![Dependency Status](https://img.shields.io/gemnasium/then/is-promise.svg)](https://gemnasium.com/then/is-promise)
[![NPM version](https://img.shields.io/npm/v/is-promise.svg)](https://www.npmjs.org/package/is-promise)
## Installation
$ npm install is-promise
You can also use it client side via npm.
## API
```javascript
var isPromise = require('is-promise');
isPromise({then:function () {...}});//=>true
isPromise(null);//=>false
isPromise({});//=>false
isPromise({then: true})//=>false
```
## License
MIT