mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-21 21:44:46 +00:00
.
This commit is contained in:
parent
beb1329f9f
commit
2b95e76931
7736 changed files with 1874747 additions and 51184 deletions
25
node_modules/invert-kv/readme.md
generated
vendored
Normal file
25
node_modules/invert-kv/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
# invert-kv [](https://travis-ci.org/sindresorhus/invert-kv)
|
||||
|
||||
> Invert the key/value of an object. Example: `{foo: 'bar'}` → `{bar: 'foo'}`
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install invert-kv
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const invertKv = require('invert-kv');
|
||||
|
||||
invertKv({foo: 'bar', unicorn: 'rainbow'});
|
||||
//=> {bar: 'foo', rainbow: 'unicorn'}
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue