install npm

This commit is contained in:
2019-01-29 19:33:51 +01:00
parent b9a54b97a7
commit 5eedee288e
8785 changed files with 817030 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
/*!
* strip-bom-string <https://github.com/jonschlinkert/strip-bom-string>
*
* Copyright (c) 2015, 2017, Jon Schlinkert.
* Released under the MIT License.
*/
'use strict';
module.exports = function(str) {
if (typeof str === 'string' && str.charAt(0) === '\ufeff') {
return str.slice(1);
}
return str;
};