mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* first action! (#1)
This commit is contained in:
parent
8deacc95b1
commit
ace1e6a69a
3750 changed files with 1155519 additions and 0 deletions
49
node_modules/crypto-random-string/readme.md
generated
vendored
Normal file
49
node_modules/crypto-random-string/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,49 @@
|
|||
# crypto-random-string [](https://travis-ci.org/sindresorhus/crypto-random-string)
|
||||
|
||||
> Generate a [cryptographically strong](https://en.m.wikipedia.org/wiki/Strong_cryptography) random string
|
||||
|
||||
Can be useful for creating an identifier, slug, salt, fixture, etc.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save crypto-random-string
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const cryptoRandomString = require('crypto-random-string');
|
||||
|
||||
cryptoRandomString(10);
|
||||
//=> '2cf05d94db'
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
### cryptoRandomString(length)
|
||||
|
||||
#### length
|
||||
|
||||
Type: `number`
|
||||
|
||||
Length of the returned string.
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [random-int](https://github.com/sindresorhus/random-int) - Generate a random integer
|
||||
- [random-float](https://github.com/sindresorhus/random-float) - Generate a random float
|
||||
- [random-item](https://github.com/sindresorhus/random-item) - Get a random item from an array
|
||||
- [random-boolean](https://github.com/arthurvr/random-boolean) - Get a random boolean
|
||||
- [random-obj-key](https://github.com/sindresorhus/random-obj-key) - Get a random key from an object
|
||||
- [random-obj-prop](https://github.com/sindresorhus/random-obj-prop) - Get a random property from an object
|
||||
- [unique-random](https://github.com/sindresorhus/unique-random) - Generate random numbers that are consecutively unique
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue