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:
39
node_modules/object-keys/README.md
generated
vendored
Normal file
39
node_modules/object-keys/README.md
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
#object-keys <sup>[![Version Badge][2]][1]</sup>
|
||||
|
||||
[![Build Status][3]][4] [![dependency status][5]][6]
|
||||
|
||||
[![browser support][7]][8]
|
||||
|
||||
An Object.keys shim. Uses Object.keys if available.
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
var keys = require('object-keys');
|
||||
var assert = require('assert');
|
||||
var obj = {
|
||||
a: true,
|
||||
b: true,
|
||||
c: true
|
||||
};
|
||||
|
||||
assert.equal(keys(obj), ['a', 'b', 'c']);
|
||||
```
|
||||
|
||||
## Source
|
||||
Implementation taken directly from [es5-shim]([9]), with modifications, including from [lodash]([10]).
|
||||
|
||||
## Tests
|
||||
Simply clone the repo, `npm install`, and run `npm test`
|
||||
|
||||
[1]: https://npmjs.org/package/object-keys
|
||||
[2]: http://vb.teelaun.ch/ljharb/object-keys.svg
|
||||
[3]: https://travis-ci.org/ljharb/object-keys.png
|
||||
[4]: https://travis-ci.org/ljharb/object-keys
|
||||
[5]: https://david-dm.org/ljharb/object-keys.png
|
||||
[6]: https://david-dm.org/ljharb/object-keys
|
||||
[7]: https://ci.testling.com/ljharb/object-keys.png
|
||||
[8]: https://ci.testling.com/ljharb/object-keys
|
||||
[9]: https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js#L542-589
|
||||
[10]: https://github.com/bestiejs/lodash
|
||||
|
Reference in New Issue
Block a user