1.0.0 • Published 14 days ago

@bobyzgirlllnpm/incidunt-expedita-reprehenderit v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days ago

@bobyzgirlllnpm/incidunt-expedita-reprehenderit


Build Status codecov dependencies Status devDependencies Status

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

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
1.0.0

14 days ago