mirror of
https://github.com/MillironX/docker-names.git
synced 2024-11-21 16:16:04 +00:00
Updating readme
This commit is contained in:
parent
98ee4688af
commit
e8156bed44
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue