初始化
This commit is contained in:
30
uni_modules/UniDevTools/node_modules/invert-kv/readme.md
generated
vendored
Normal file
30
uni_modules/UniDevTools/node_modules/invert-kv/readme.md
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
# invert-kv [](https://travis-ci.com/sindresorhus/invert-kv)
|
||||
|
||||
> Invert the key/value of an object. Example: `{foo: 'bar'}` → `{bar: 'foo'}`
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install invert-kv
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const invertKeyValue = require('invert-kv');
|
||||
|
||||
invertKeyValue({foo: 'bar', '🦄': '🌈'});
|
||||
//=> {bar: 'foo', '🌈': '🦄'}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
<div align="center">
|
||||
<b>
|
||||
<a href="https://tidelift.com/subscription/pkg/npm-invert-kv?utm_source=npm-invert-kv&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
||||
</b>
|
||||
<br>
|
||||
<sub>
|
||||
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
||||
</sub>
|
||||
</div>
|
||||
Reference in New Issue
Block a user