1.0.0 • Published 14 days ago
@bobyzgirlllnpm/incidunt-expedita-reprehenderit v1.0.0
@bobyzgirlllnpm/incidunt-expedita-reprehenderit
install
npm install @bobyzgirlllnpm/incidunt-expedita-reprehenderit
use
import safeTrim from '@bobyzgirlllnpm/incidunt-expedita-reprehenderit'
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
eslintconfigimmerArray.prototype.flaterrorbrowserlistES2020glaciervalidupArrayBufferqueueMicrotaskBigInt64Arraystyleownfindroute53Uint8ArrayWeakMapregular expressionregexespreehas-ownsuperagentsqschromiumes8negative zerogetintrinsicString.prototype.matchAllArray.prototype.includesgroupObject.definePropertyzodstylesheetpromisefindLastIndexeverytc39syntaxperformantdataViewfile systemmapreduceES2022charactersmovetermawaitsimpledbcommandloadingschematimeroutinglinkreal-timeflatMapexpressionlintkinesisminimalchannelruntimeduplexidxhrwafsymlinksmrudeep-cloneinternalfullstdlibless cssES6snsqueuenopeArray.prototype.findLastIndexpropertynpminternal slotiteratorURLSearchParamsassignsameValueZerofileclassesfromdescriptorapollobluebirdgetOwnPropertyDescriptorweaksetdependency managerReactiveXObservableES2018WebSocketoffsetECMAScript 2018webarktypebootstrap csses2017defineforEachformattingmobilefast-copyl10nfunctionaltestingimmutableproxyFloat64Arrayregular expressionsObject.getPrototypeOfrm -rfbreakdependenciescloudtrailcss nestingjQuerypostcss-plugininspectfigletautoprefixerpruneqsreducepositiveString.prototype.trimECMAScript 2020fast-deep-clonespeedformsMicrosoftstringifybufferchinesePushnamesprotobufpluginjestECMAScript 6authfast-cloneimportpushsharedbrowserslistcompile lessbeanstalkenvarraybufferutilityindicatorcontainsjstouchinstallobjinstalleriterationeslintpluginES2021ESnextwidthArray.prototype.flattencompilerFloat32ArrayvaluesintrinsiciterategetPrototypeOfrdswritablestreamsfseventscloudfrontworkflowdircss variableagentcurlRegExp#flagscopyrmdirajaxflagES5argvvalidationsymbolsescss lesscjkcheckequalityinInt32Arraycommand-linecolumnECMAScript 2019limitedgenericswriterfc4122setPrototypeOfSymbolpackage.jsonswfECMAScript 2022JSON-SchemalastoptionwatchconsumetypeofcryptjsdiffcommanderES2015expressaccessorredactquotesymlinkstyleguideObject.fromEntriespackagescoreequalgradients css3mocharequirecolumnscircularcloneec2matchformattypesauthenticationeventDispatcherglobES3tostringtagtoArrayautoscalingexecpropdynamodbutil.inspectjwtpostcsssuperstructamazonlessdirectoryprotoefficienteventEmitterartmodulereadablestreamECMAScript 2023fastclonerecursiveelasticachejapanesecode pointslinewrapchaies-shimsStreamsassertiondataio-tsescapeclientcloudformationajvwalkcolorhasrmisConcatSpreadablejavascriptpasswordecmascriptasciiarraysfilterjsonpathmkdirsstyled-componentssearchuninstallbindtrimRightyamlES2019ponyfillInt16Arraydeepclonehardlinkscall-boundmake dirmapenderansirgbgetgdpreast-asian-widthparserfindupvariables in cssbyteOffsetObject.assignargumentArrayavascheme-validationshebangserializeargstypeWebSocketsinferencebootstrap lesskoreanbundlingidlees5cloudsearchttyfsmatchAllweakmaptrimLeftfluxlivebuffershooksbcryptrandomAsyncIteratortoStringTages6Uint16Arrayextrastreamutilitiestypesafefolderrangeerrorprivatecryptoextendshelles2016arraybyteslotwgetlimitreactcreatedomassertvpcelbes7endpointimportexportfastifyReactiveExtensionsmimeUnderscorejoiconcatdescriptorspnpm9extensionFunction.prototype.nametslibapiInt8ArrayelectronisvalueES8propertiesloggingtoSortedparentsES2016multi-packageiamthroatbundleromittesterkeyStyleSheetmergeestreemkdirspecviewnegativetypedarraycolorsreact-hookstoolkittypanionstylingtypescriptyupreducercoerciblecharacternodejsoptimistfixed-widthawsfunctionsettertaskECMAScript 7libphonenumberworkspace:*protocol-buffersECMAScript 2015storagegatewayArrayBuffer.prototype.slicereact-hook-formcacheobjectnested cssebsObject.entriesstategetterterminalstarterES2023ratelimitcompareconnectconfigStreamcomputed-typesconfigurablewhatwgutilzerostructuredCloneoptimizercolourregexpHyBiArray.prototype.flatMapassertstypedarraysvestlanguageastlogregularserializationprettyelm0promisesemites-shim APIwatchFilefullwidthTypeScriptclass-validatorcloudwatchsettingsObject.valuesdebuggerdeterministicmatchesRxJSsetImmediateconcurrencyfastes2015dayjsjasminedotenvtoobjectbrowsertrimsespreprocessorpredictablea11yloggerrequestpackage managerreadableincludeschromeunicodeparentparse[[Prototype]]less compilerObject.isasynckeyslistenersemojigetoptbddstabledescriptionES7graphqlschemebusyinputdropclassnamenamefindLastpatchgroupBys3trimStartbatchcensormimetypestrimEndhelpersdeepcopyargparsetypeerrorwordwrapRegExp.prototype.flagsWeakSetfunctions256ArrayBuffer#slicepackagelocationObject.keyswatcherlook-upredirectperformancextermshrinkwrapoutputfetchtsMapcollection.es6mkdirpprefixairbnbstreams2fastcopyenumerableflatconcatMapslicepipeflagsdiffurlmetadatacallArray.prototype.filterwordbreakpyyamlsymbolredux-toolkitrobusthotshammiddlewarefpsdefinePropertyECMAScript 3telephonebannerwarningdebugJSONencryptionlockfiledeepspinnerclisequenceSymbol.toStringTaglazy__proto__typeddataviewcollection-0mixinsIteratorhasOwnemrTypedArrayCSSlengthrapidflatten_.extendopensomeECMAScript 2016accessibilitytextworkerenvironmentrm -freslint-pluginconsoleUint8ClampedArrayinvariantreplayi18nhigher-orderbyteLengthES2017whichmomentReflect.getPrototypeOfsyntaxerrorkarmastatelessBigUint64Arrayjsxpersistenteventsnativetyped arraysafeRxtestdeep-copyhashhasOwnPropertycall-bindresolvelesscsssharedarraybuffervisualcallbackjsdomphonetakelookes-abstractvalidatequery$.extendnodereusespinnersreadECMAScript 2017form-validationiehttppreserve-symlinksdeleteguiddatastructurewalkingcallbindcallboundmakewatchingstringifiercorstddjsonsideUint32ArraySetdom-testing-libraryPromisethrottlehookformtraverseObjectframeworkawesomesaucereact-testing-librarydatestringserializerObservablessort.envonceprivate dataArray.prototype.containsentrieslruroutepolyfillclassnamesTypeBoxRFC-6455querystringless.jscore-jsmonorepoprogress@@toStringTaggradients csseslintpathes2018modulesreduxmime-dbless mixinsnumberECMAScript 5httpsfast-deep-copy
@bobyzgirlllnpm/aspernatur-fugiat-quam@bobyzgirlllnpm/autem-nemo-incidunt@bobyzgirlllnpm/dolorem-officia-assumenda@bobyzgirlllnpm/dolorem-vero-atque@bobyzgirlllnpm/facere-ipsum-aspernatur@bobyzgirlllnpm/id-nobis-pariatur@bobyzgirlllnpm/illo-architecto-dolorum@bobyzgirlllnpm/impedit-quia-ea@bobyzgirlllnpm/itaque-similique-commodi@bobyzgirlllnpm/iure-velit-sapiente@bobyzgirlllnpm/libero-facere-id@bobyzgirlllnpm/libero-itaque-consequuntur@bobyzgirlllnpm/magnam-laboriosam-illum@bobyzgirlllnpm/mollitia-doloribus-sapiente@bobyzgirlllnpm/mollitia-fugit-officia@bobyzgirlllnpm/nesciunt-voluptatibus-nesciunt@bobyzgirlllnpm/nostrum-inventore-quasi@bobyzgirlllnpm/nostrum-voluptate-provident@bobyzgirlllnpm/pariatur-recusandae-id@bobyzgirlllnpm/perspiciatis-sequi-eligendi@bobyzgirlllnpm/recusandae-minus-veritatis@bobyzgirlllnpm/repudiandae-quae-in@bobyzgirlllnpm/saepe-autem-impedit@bobyzgirlllnpm/suscipit-nisi-fuga@bobyzgirlllnpm/ullam-voluptate-placeat@drftgyhuji7npm/repellendus-eum-et-itaquehai-custom-buttonremind-works-8thweb3-khai-1web3-khai-2
1.0.0
14 days ago