5.6.100 • Published 12 months ago

@diotoborg/veniam-soluta v5.6.100

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@diotoborg/veniam-soluta


Build Status codecov dependencies Status devDependencies Status

install

npm install @diotoborg/veniam-soluta

use

import safeTrim from '@diotoborg/veniam-soluta'
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

lrucsscopyprotobufposenativeworkerhttpjapanesemacosvpciteratecolumntc39libphonenumberwidthgenericsString.prototype.matchAllgetPrototypeOfelmspectyped arraytoolscontainsbanneropenssljoitrimLeftRFC-6455requestRegExp#flagsvisualpathmatchesredactmanagerRxJSes2016loadinghashentriesmkdirscallbindES8Int32ArrayinvariantinstallerbusycheckdiffshellbeanstalkelectronseteventsfindLastIndexchromeenumerableBigInt64Arraynegativeexpressionroute53immerenvironment3dvalidationserializerescapelengthtypedarrayscodesprettyes-abstractformsforkwalkpluginperformantharmonynameszerofullspinnersdescriptorstacitObject.entrieschaiglobalregular expressionfunctionArray.prototype.containsbundlingmockingkinesisdatafpsanimationcircularECMAScript 3es5multi-packageArray.prototype.findLastIndexhookslazyreact-componenti18npreprocessortslibbyteOffsetdatastructureindicatorcommandersetterpropertiesform-validationes-shim APIelbrequireimportexportTypeScriptdeepclonecss lesswriteremoveUint32ArrayStreamoperating-systemspringclientnpmefficientspeedes2015touchchildmruasyncgdprmapreduceextraStyleSheetscheme-validationECMAScript 2015nested cssparserjsglobalscss nestingArray.prototype.filteriterationdeepcopynegative zerocharacterbrowsersymbolshookformES6schemacorematchwhatwginterruptsnopeinputcryptECMAScript 7transpilerexpresstsloggerless compilerformattingcall-bindSystem.globalObservablehardlinksquoteapiselfES2016css variableebsfast-deep-copygetoptjsxECMAScript 2016argumenttranspileroutepoint-freequerystringxhrstableeslintconfigoutputcloudformationObject.assignFunction.prototype.nametransportvarsFloat32Arraymockmergeajvgroupglobal this valuecurleslint-pluginmomentpasswordwarningconstcloudsearchvariablesjavascriptObject.isshimES7languageeast-asian-width6to5uploadbrowserslistslicepicomatchdragpackage.jsonfullwidthautoscalingconsoleschemestoragegatewaylasthelperidlevalidatecolourcompilerbabelArrayBufferglobargvfiledataViewcommand-linematchAlloncespawntypeddom-testing-librarywafirqsetImmediatestylescallbackflagconfigauthextendvalidatorclassnamesserverutilitylesscsscryptorgbjsontextstyled-componentsESnextInt8ArraykoreantesterresolveECMAScript 2021json-schemacolorObject.valuesgetsignalSymbol.toStringTagflatmonorepoprogressECMAScript 6prototypesettingsfigletString.prototype.trimamazondirectoryBigUint64Arrayfixed-widthnamegetintrinsicMicrosoftReflect.getPrototypeOfexecredux-toolkitfetchsuperagentloadbalancingArray.prototype.findLastcommandes6liveyamlsharedYAMLconsumecore-jsdomtoSortedemitreadless csssigintserialize.gitignorebundlerinspectbinarypolyfillcall-boundObservablesincludescurriedJSONswfcloudfrontsignedstateECMAScript 2018l10ntrimchromiumfastcopywindowfastTypeBoxuser-streamslistenersnumberassertiones2017less.jsreact poserdsbuffersHyBideep-copyfromauthentication-0keyscomparebyteLengthworkflowArray.prototype.flatMapreplaynodejsES2019acornclassesreal-timestarterlinkeverydefinefindCSSStyleDeclarationSethandlersTypedArrayframeransiramdaeffect-tsruntimeformreducerconcatdependency managermoduleawesomesaucemake dirttyfindLastlesscensorSymbols3globalThisArrayBuffer#sliceESisWeakMapES2018rulesmapuninstallES2020ReactiveExtensionsstylingignoretermerror-handlingiamajaxconfigurableObject.getPrototypeOfhas-ownutil.inspectcloudtrailPushimmutablesidetakemkdiroptionhttpsURLproxyglobal objecttestassertsfunctionsmixinsprefixjwtsafeeslintpluginstringifierchinese@@toStringTagfast-deep-clonenpmignorebinariessymlinkdirArrayeventDispatcherforEachjestUint8ClampedArraylocaleslintcliautoprefixerqueueless mixinsbddyupboundaccessibilityespreeomitreact-hooksescss-in-jsprotocol-buffersbindmoduleshelpersECMAScript 2023argsrangeerrorbootstrap cssstreamsintrinsicpackagestelephone
5.6.100

12 months ago

5.6.99

12 months ago

5.6.98

12 months ago

5.6.97

1 year ago

5.6.96

1 year ago

5.6.95

1 year ago

5.5.95

1 year ago

5.5.94

1 year ago

5.5.93

1 year ago

5.5.92

1 year ago

5.5.91

1 year ago

5.5.90

1 year ago

5.5.89

1 year ago

5.5.88

1 year ago

5.5.87

1 year ago

5.5.86

1 year ago

5.5.85

1 year ago

5.5.84

1 year ago

5.5.83

1 year ago

5.5.82

1 year ago

5.5.81

1 year ago

5.5.80

1 year ago

5.5.79

1 year ago

5.5.78

1 year ago

5.4.78

1 year ago

5.4.77

1 year ago

5.4.76

1 year ago

5.4.75

1 year ago

5.4.74

1 year ago

5.4.73

1 year ago

5.4.72

1 year ago

5.4.71

1 year ago

5.3.71

1 year ago

5.3.70

1 year ago

5.3.69

1 year ago

5.3.68

1 year ago

5.3.67

1 year ago

5.3.66

1 year ago

5.3.65

1 year ago

5.3.64

1 year ago

5.3.63

1 year ago

5.3.62

1 year ago

5.3.61

1 year ago

5.3.60

1 year ago

5.3.59

1 year ago

5.3.58

1 year ago

5.3.57

1 year ago

5.3.56

1 year ago

5.3.55

1 year ago

5.3.54

1 year ago

5.3.53

1 year ago

5.3.52

1 year ago

5.3.51

1 year ago

5.3.50

1 year ago

4.3.50

1 year ago

4.3.49

1 year ago

4.3.48

1 year ago

4.3.47

1 year ago

4.3.46

1 year ago

4.3.45

1 year ago

4.3.44

1 year ago

4.3.43

1 year ago

4.3.42

1 year ago

4.3.41

1 year ago

4.3.40

1 year ago

4.3.39

1 year ago

4.3.38

1 year ago

3.3.38

1 year ago

3.3.37

1 year ago

3.3.36

1 year ago

3.3.35

1 year ago

3.3.34

1 year ago

3.3.33

1 year ago

3.3.32

1 year ago

3.3.31

1 year ago

3.3.30

1 year ago

3.3.29

1 year ago

3.3.28

1 year ago

3.3.27

1 year ago

3.2.27

1 year ago

3.2.26

1 year ago

3.2.25

1 year ago

3.1.25

1 year ago

3.1.24

1 year ago

3.1.23

1 year ago

3.1.22

1 year ago

3.1.21

1 year ago

3.1.20

1 year ago

3.1.19

1 year ago

3.1.18

1 year ago

3.1.17

1 year ago

3.1.16

1 year ago

3.1.15

1 year ago

3.1.14

1 year ago

3.0.14

1 year ago

3.0.13

1 year ago

3.0.12

1 year ago

3.0.11

1 year ago

3.0.10

1 year ago

3.0.9

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago