UNPKG

strip-bom-buf

Version:

Strip UTF-8 byte order mark (BOM) from a Uint8Array

56 lines (55 loc) 962 B
{ "name": "strip-bom-buf", "version": "4.0.0", "description": "Strip UTF-8 byte order mark (BOM) from a Uint8Array", "license": "MIT", "repository": "sindresorhus/strip-bom-buf", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": { "types": "./index.d.ts", "default": "./index.js" }, "engines": { "node": ">=18" }, "sideEffects": false, "scripts": { "test": "xo && ava && tsd" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "strip", "bom", "byte", "order", "mark", "unicode", "utf8", "utf-8", "remove", "delete", "trim", "text", "buffer", "uint8array" ], "dependencies": { "is-utf8": "^0.2.1", "uint8array-extras": "^0.3.0" }, "devDependencies": { "@types/node": "^20.8.8", "ava": "^5.3.1", "tsd": "^0.29.0", "xo": "^0.56.0" } }