Bones/node_modules/ws/lib/Validation.js

14 lines
256 B
JavaScript
Raw Normal View History

2017-05-17 13:45:25 -04: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');
}