security-master
Advanced tools
Comparing version 1.0.2 to 1.0.3
import dictionary from './dictionary.js'; | ||
export * as dictionary from './dictionary.js'; | ||
export function createPhrase(length = 12) { | ||
function createPhrase(length = 12) { | ||
const mixed = dictionary.sort(() => 0.5 - Math.random()); | ||
@@ -10,2 +8,3 @@ return mixed.slice(0, length); | ||
export { dictionary, createPhrase }; | ||
export default { dictionary, createPhrase }; |
{ | ||
"name": "security-master", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Module for creating security.", | ||
@@ -5,0 +5,0 @@ "main": "module/security-master.cjs", |
208069