| 
				
					 | 
			há 3 anos atrás | |
|---|---|---|
| .. | ||
| lib | há 3 anos atrás | |
| test | há 3 anos atrás | |
| .editorconfig | há 3 anos atrás | |
| .eslintrc | há 3 anos atrás | |
| .gitattributes | há 3 anos atrás | |
| .travis.yml | há 3 anos atrás | |
| LICENSE | há 3 anos atrás | |
| code-points.mem | há 3 anos atrás | |
| generate-code-points.js | há 3 anos atrás | |
| index.js | há 3 anos atrás | |
| package.json | há 3 anos atrás | |
| readme.md | há 3 anos atrás | |
Stringprep Profile for User Names and Passwords, rfc4013
const saslprep = require('saslprep')
saslprep('password\u00AD') // password
saslprep('password\u0007') // Error: prohibited character
saslprep(input: String, opts: Options): StringNormalize user name or password.
Options.allowUnassigned: boolA special behavior for unassigned code points, see https://tools.ietf.org/html/rfc4013#section-2.5. Disabled by default.
MIT, 2017 (c) Dmitriy Tsvettsikh