noname/node_modules/ws/lib/Validation.js

14 lines
256 B
JavaScript
Raw Normal View History

2021-03-06 10:57:22 +00:00
'use strict';
/*!
* ws: a node.js websocket client
* Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com>
* MIT Licensed
*/
try {
module.exports = require('utf-8-validate');
} catch (e) {
module.exports = require('./Validation.fallback');
}