5.0.1 • Published 10 months ago

wp-salts v5.0.1

Weekly downloads
15
License
MIT
Repository
github
Last release
10 months ago

wp-salts

Generates an object of default WordPress salts. Fully offline.

License Version: npm Version: jsr CI: Node CI: Deno

Installation

npm install wp-salts -S

Usage

wpSalts(keys: string | string[], length?: number)

Example:

import { wpSalts } from 'wp-salts';

// Standard WordPress salts
wpSalts();

// Custom salts
wpSalts('SECURE_AUTH_KEY');
wpSalts(['AUTH_KEY', 'AUTH_SALT'], 128);

Note: The minimum length of each salt is 8-bit (64 characters)

Credits

Related

License

This work is licensed under The MIT License.

5.0.1

10 months ago

5.0.0

1 year ago

4.0.0

1 year ago

3.0.0

2 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

4 years ago

1.2.0

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago