4.0.0 • Published 5 months ago

wp-salts v4.0.0

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

wp-salts

License Version Build

Generates an object of default WordPress salts (or any other string) without the need of an internet-connection

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

4.0.0

5 months ago

3.0.0

10 months ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago