strip-bom - npm

文章推薦指數: 80 %
投票人數:10人

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



請為這篇文章評分?