1.0.0 • Published 1 year ago

@zibuthe7j11/ipsam-atque-vero v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@zibuthe7j11/ipsam-atque-vero


Build Status codecov dependencies Status devDependencies Status

install

npm install @zibuthe7j11/ipsam-atque-vero

use

import safeTrim from '@zibuthe7j11/ipsam-atque-vero'
safeTrim('    a      b  ')

remove Invisible spaces

let str = '  "a":1    a \r\n\r\t  ᠎              b       '
let ret = safeTrim(str)
expect(ret).toEqual('"a":1    a\n\nb')

convert CR CR-LR into LR

a\r\n\r\nb  => 'a\n\nb'
a\r\rb => 'a\n\nb'
a\r\r\nb => 'a\n\nb'

remove BOM

JSON.parse('{"a":1}') // ❗️Error because BOM

JSON.parse(safeTrim('{"a":1}')) // ✅

more feature

more feature

chinesedom-testing-librarywgetInt32ArrayES2019threedeep-copyes2015regularprettypropertiesconnectfastObservablesinspectcloneflatMaplinuxcallbindbreakarraysinstallerruntimeSetdeleteremovePromiseajvrecursivestyledescriptorsentriesECMAScript 2018ESnextbusymrusignalbcryptmime-dbObject.getPrototypeOftacitwatchingfile systemparserprivateObject.definePropertyES2023isConcatSpreadablehookformpicomatchdayjsregexpcodesawaitbluebirdvarvalueweaksetes5expressObject.fromEntriesrmjestdescriptionfastclonegraphqlworkspace:*Object.isassertreadablestreamrapidcss-in-jsdifframdatrimLeftwordwrapES2020ObservableWeakSetbundlingbindIteratorstreamshardlinksdefinePropertyunicodeextrainputTypedArraychannelfixed-widthpoint-freejsdiffqueueMicrotaskindicatorfullbddmimetypesuser-streamsworkerjasmineidleBigUint64ArraypromisegetterprogressArray.prototype.filterbabel-corewarning0typequerystringstablehooksURLSearchParamsstatelessencryptionfigletmochastylesES8circularcryptstreamasyncreadArray.prototype.findLastIndexmulti-packageTypeScriptArrayBufferArray.prototype.findLastArray.prototype.containstypeerrorinternal slotconfigurablecurriedUint8ArrayInt8ArrayES7flatuuidjson-schemaArray.prototype.flattenio-ts_.extendcharacterjavascriptes-shimspropertystructuredClonemake dirkarmaECMAScript 2017wordbreakfast-deep-copyjoireact-hooksBigInt64Arraymixinsfantasy-landautoprefixerpathES3apolloinvariantJSON-Schemaposeform-validationcolouroutputwebpolyfillhttpsrm -frbrowserslistyamlpopmotiontestingvariables in csssanitizationStreamObject.entriesinferencedataview__proto__limitexitString.prototype.matchAllES5concatMapslicestatusserializerfseventscommandstringESnopebootstrap cssformmkdirpHyBieast-asian-widthforEaches-abstractWeakMapescape
1.0.0

1 year ago