validate-encoding
Validates whether a string matches the name of the encoding or not. Full list of the valid encoding names here
usage
const ve = ; ; // invalid; // valid
API
exports(input)
- @param {string} input - candidate to validate
- @returns {bool}
Licsense
MIT, 2015 (c) Dmitry Tsvettsikh