PHP 8.2.30
Preview: README.md Size: 459 B
//usr/lib/node_modules/npm/node_modules/unique-slug/README.md

unique-slug
===========

Generate a unique character string suitible for use in files and URLs.

```
var uniqueSlug = require('unique-slug')

var randomSlug = uniqueSlug()
var fileSlug = uniqueSlug('/etc/passwd')
```

### uniqueSlug(*str*) → String (8 chars)

If *str* is passed in then the return value will be its murmur hash in
hex.

If *str* is not passed in, it will be 4 bytes coverted into 8 hex
characters, generated by `crypto.pseudoRandomBytes`.

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
42 B lrw-r--r-- 2021-03-10 14:36:39
Edit Download
139 B lrw-r--r-- 2021-03-10 14:36:39
Edit Download
692 B lrw-r--r-- 2021-03-10 14:36:39
Edit Download
1.47 KB lrw-r--r-- 2021-03-10 14:36:39
Edit Download
459 B lrw-r--r-- 2021-03-10 14:36:39
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).