1
0
Fork 0
mirror of https://github.com/MillironX/docker-names.git synced 2024-11-22 00:26:03 +00:00

Updating readme

This commit is contained in:
Bryce Easley 2021-04-27 14:40:27 -05:00
parent 98ee4688af
commit e8156bed44

View file

@ -7,7 +7,7 @@ An implementation of [docker-names](https://github.com/moby/moby/blob/master/pkg
### Generate Name ### Generate Name
```typescript ```typescript
import {generateName} from '@cribl/docker-names' import {generateName} from '@criblinc/docker-names'
const dockerName = generateName(); const dockerName = generateName();
@ -20,7 +20,7 @@ console.log(dockerName);
```typescript ```typescript
import {generateNameWithNumber} from '@cribl/docker-names' import {generateNameWithNumber} from '@criblinc/docker-names'
const dockerName = generateNameWithNumber(); const dockerName = generateNameWithNumber();
@ -34,7 +34,7 @@ console.log(dockerName);
The words can also be imported from the package if need be. The words can also be imported from the package if need be.
```typescript ```typescript
import {left,right} from '@cribl/docker-names' import {left,right} from '@criblinc/docker-names'
console.log(left); console.log(left);