strip-bom - npm
文章推薦指數: 80 %
Strip UTF-8 byte order mark (BOM) from a string. Latest version: 5.0.0, ... Start using strip-bom in your project by running `npm i strip-bom`. strip-bom5.0.0 • Public • PublishedayearagoReadmeExploreBETA0Dependencies976Dependents10Versions strip-bom StripUTF-8byteordermark(BOM)fromastring FromWikipedia: TheUnicodeStandardpermitstheBOMinUTF-8,butdoesnotrequirenorrecommenditsuse.ByteorderhasnomeaninginUTF-8. Install $npminstallstrip-bom Usage importstripBomfrom'strip-bom'; stripBom('\uFEFFunicorn'); //=>'unicorn' Related strip-bom-cli-CLIforthismodule strip-bom-buf-Bufferversionofthismodule strip-bom-stream-Streamversionofthismodule Getprofessionalsupportfor'strip-bom'withaTideliftsubscription Tidelifthelpsmakeopensourcesustainableformaintainerswhilegivingcompaniesassurancesaboutsecurity,maintenance,andlicensingfortheirdependencies. Keywordsstripbombyteordermarkunicodeutf8utf-8removedeletetrimtextstringInstallnpmistrip-bomRepositoryGitgithub.com/sindresorhus/strip-bomHomepagegithub.com/sindresorhus/strip-bom#readmeFundthispackageDownloadsWeeklyDownloads47,491,191Version5.0.0LicenseMITUnpackedSize3.63kBTotalFiles5LastpublishayearagoCollaboratorsTryonRunKitReportmalware
延伸文章資訊
- 1remove utf8 bom javascript-掘金
remove utf8 bom javascript技术、学习、经验文章掘金开发者社区搜索结果。掘金是一个帮助开发者成长的社区,remove utf8 bom javascript技术文章由稀土...
- 2remove utf-8 bom with javascript - gists · GitHub
remove utf-8 BOM from ressource "res". // res.charCodeAt(0) === 0xFEFF | res.charCodeAt(0) === 65...
- 3Bom | npm.io
strip-bom, remove-bom-buffer, remove-bom-stream, strip-bom-stream, ... Creates CycloneDX Software...
- 4strip-bom - npm
Strip UTF-8 byte order mark (BOM) from a string. Latest version: 5.0.0, ... Start using strip-bom...
- 5Removing BOM characters from AJAX-posted string
The characters are in the middle of strings I want to simply remove them all. The data comes from...