5.11.94 • Published 10 months ago

@patrtorg/omnis-recusandae-beatae v5.11.94

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

CircleCI codecov downloads npm snyk

@patrtorg/omnis-recusandae-beatae

@patrtorg/omnis-recusandae-beatae is a library for validating and manipulating IPv4 and IPv6 addresses in JavaScript.

Migrating from 6.x to 7.x

@patrtorg/omnis-recusandae-beatae was rewritten in TypeScript for version 7. If you were using version 6 you'll need to make these changes to upgrade:

  • Instead of checking isValid(), which has been removed, you'll need to use a try/catch if you're accepting unknown input. This made the TypeScript types substantially easier as well as allowed the use of an AddressError class which will contain a parseMessage if an error occurred in the parsing step.
  • Instead of using the error, parseError, and valid attributes you'll need to use the message and parseMessage of the thrown AddressError.

Documentation

Documentation is available at @patrtorg/omnis-recusandae-beatae.js.org.

Examples

var Address6 = require('@patrtorg/omnis-recusandae-beatae').Address6;

var address = new Address6('2001:0:ce49:7601:e866:efff:62c3:fffe');

var teredo = address.inspectTeredo();

teredo.client4;    // '157.60.0.1'

Features

  • Usable via CommonJS or ESM
  • Parsing of all IPv6 notations
  • Parsing of IPv6 addresses and ports from URLs with Address6.fromURL(url)
  • Validity checking
  • Decoding of the Teredo information in an address
  • Whether one address is a valid subnet of another
  • What special properties a given address has (multicast prefix, unique local address prefix, etc.)
  • Number of subnets of a certain size in a given address
  • Display methods
    • Hex, binary, and decimal
    • Canonical form
    • Correct form
    • IPv4-compatible (i.e. ::ffff:192.168.0.1)
  • Works in node and the browser (with browserify)
  • ~1,600 test cases

Used by

reversedtrimStartcertificatesdropcolumnsES3ECMAScript 2017reactparserrulessigtermflattenelectronjapaneses3defineeslintsqscolormaketouchchaiInt16ArraysignalSymboltoArraysetImmediateredux-toolkitbabel-corevarsexecjson-schema-validationconfigurablebootstrap cssreplayzxforkstyled-componentszodless compilertelephoneremovebyteOffsetgesturescommandInt8ArrayflagpredictablemoveshebangbufferspluginsymbolsECMAScript 3pipetoobjectownformIteratornodejsclonefindLastexpressionfastcloneES2022mixinsfunctionalpopmotiondiffeslintconfigiteratorlinuxenvironmentexiteast-asian-widthoutputwaitObject.entriesmanagerrdsurltypeerrortoolkitapiec2react-hook-formwhichspawnbundlingschemeobjectchannelsetquerystringURLfunctionsSymbol.toStringTagsuperagent_.extendCSSRxfunctionamazonstarternamematchesES2018domRxJSmkdirpreact-hooksterminalcompile lessUint32ArraystyleguideObject.isenumerableintrinsicreact animationArray.prototype.flatMapWeakMapes2017fast-deep-cloneminimalcomputed-typescloudsearchclientpoint-freeswflibphonenumberlesscsscodespostcsses8linkinternaluploadclassnamemomentperformantjson-schemavalidtypanionjsdomignoregdprrobustcommand-linereadableelasticacheperformancefilterpersistentquotestablepathPromiseFunction.prototype.nametc39Int32ArrayeslintpluginMapYAMLsimpledbAsyncIteratorbyteLengthsymlinksUint8Arrayinterruptsstringifiercolumnlrujestfast-copysignalscollection.es6astjwtextendUint8ClampedArrayTypeScripttrimLefttacitworkspace:*walkhasOwnwhatwgWeakSetsyntaxECMAScript 6sharedbrowsercommanderjavascriptargskeyspinnerTypedArraytestWebSocketdirposespinnersoncecloudtrailfastcopysigintutilitycss-in-jslengthshellselfansiES2017ES2021String.prototype.trimform-validationshrinkwrapstatuszeroreducerfpsdescriptionpreserve-symlinkslanguagesyntaxerrorpruneapollonameslastphonesorthasOwnPropertycontainslockfileBigInt64ArrayrangeerroriteratequeueMicrotaskfetchjsonrequiremergejsmkdirdeepcloneauthglobalThisObservablesObjectbusytestingfast-deep-copydeterministicMicrosoftgroupBygetOwnPropertyDescriptorcopyWebSocketsweakmapfnmatchfixed-widthRFC-6455figlethardlinksinferenceiees2018redactextradependency managershimexecfilevalue0toReversedcloudformationcss lessregular expressionSystem.globalcurriedeffect-tsless mixinscomparecloudwatchisConcatSpreadablextermtypesettersomeprettyfullwidthsubprocessRegExp.prototype.flagsyamlArray.prototype.flatsortedglobal this valueenvironmentspolyfillES8fp.gitignoreanimationwritablewindowStreamflagsdeletestatelessFloat64Arrayoptimizermkdirscall-boundArrayBuffer#slicerecursiveArray.prototype.includesfasttranspileTypeBoxnested csscryptmatchreversedeep-copygenericsJSONCSSStyleDeclarationairbnbsetPrototypeOfuser-streamsdescriptorsajaxsymlinkworkflowfluxes5Object.keystranspiler256loggingstringESnextnpmmapinstalles2015regularclassnamesreact-componentqueuetimemodulebabelnopechromehashprototypeSetregexfilebcryptgettertermhotvaluesunicodejson-schema-validatorECMAScript 2016Reflect.getPrototypeOftscss nestingutilarteslogtraversepatch@@toStringTagString.prototype.matchAllstylesheetprotobufpnpm9ArrayBuffer.prototype.slicecolorsaccessora11yObject.getPrototypeOfenvuninstallbrowserslisthasdataargvequalcliimmerxhrvariables in cssarraybufferinstallerECMAScript 5bddasciipushdataViewObservablepyyamlregular-expressionworkerreact posethreevalidatorpasswordhelperscrypto6to5rfc9562ES2020ECMAScript 2021propertynegativeentriesdotenvtoSorted.envemitECMAScript 2023snsforEachcss variablesettingsfullnegative zerogradients css3ECMAScript 2015opensslsequenceruntimeprotocol-bufferses6es-abstracteventEmitterargument3dhooksJSON-SchemaponyfillBigUint64ArrayinspectassigninvariantstructuredCloneES2023framercreatefantasy-landgradients cssprocessArray.prototype.filtersafedatastructurejsxclasseshas-ownauthenticationglobalspeediamhelperassertiontransportconstcoretakeautoprefixerfindwidthqses7assertspromiseclass-validatorgetintrinsicmetadatalazywaapiArray.prototype.flattenspringestreeinternal slotobjbeanstalkfull-widthviewcloudfrontharmonyjoipackage.jsonsameValueZerofunction.lengthlessdragkeyscharactermobileRegExp#flagscoerciblePushsesreadablestreamflatMapjshinterror-handlingvpcReactiveXchinesedescriptorrouteslotfile systemtexttrimbinbyteECMAScript 2018eventsgetPrototypeOfES2016ECMAScript 2022loadingencryptionendpointvalidateirqcurlObject.assignwgetES2015trimEndless csscallvariablesroutingless.jsUnderscoretypesafeawesomesauceefficientajvES2019route53es-shim APIlistenersidentifierscompilerglobalsrandomUint16Arraykinesispuredom-testing-librarybinariesautoscalingecmascriptcjkserializationECMAScriptprotochildes-shimsparsingomitrgbreduceprivate dataES7idlemapreduceStreamscallbackvarprogressmodulesutilitiescall-binduuidguidStyleSheetfindLastIndexbootstrap lessimportexportescapequerysidehigher-orderasterisksarktypechecklocal
5.11.93

10 months ago

5.11.92

10 months ago

5.11.94

10 months ago

5.11.91

10 months ago

5.11.90

10 months ago

5.11.89

10 months ago

5.11.88

10 months ago

5.11.87

10 months ago

5.11.86

10 months ago

5.11.85

10 months ago

5.10.85

10 months ago

5.9.85

10 months ago

5.9.84

10 months ago

5.9.83

10 months ago

5.9.82

10 months ago

5.9.81

10 months ago

5.9.80

10 months ago

5.9.79

10 months ago

5.9.78

10 months ago

4.9.78

11 months ago

4.9.77

11 months ago

4.9.76

11 months ago

4.9.75

11 months ago

4.9.74

11 months ago

4.9.73

11 months ago

4.9.72

11 months ago

4.9.71

11 months ago

4.9.70

11 months ago

4.9.69

11 months ago

4.9.68

11 months ago

4.9.67

11 months ago

4.9.66

11 months ago

4.9.65

11 months ago

4.9.64

11 months ago

4.9.63

11 months ago

4.9.62

11 months ago

4.9.61

11 months ago

4.9.60

11 months ago

4.9.59

11 months ago

4.9.58

11 months ago

4.9.57

11 months ago

4.9.56

11 months ago

4.9.55

11 months ago

4.9.54

11 months ago

4.8.54

11 months ago

4.8.53

11 months ago

4.8.52

11 months ago

4.7.52

11 months ago

4.7.51

11 months ago

4.7.50

12 months ago

4.7.49

12 months ago

4.7.48

12 months ago

4.7.47

12 months ago

4.7.46

12 months ago

4.7.45

12 months ago

4.7.44

12 months ago

4.7.43

12 months ago

4.7.42

12 months ago

4.7.41

12 months ago

4.7.40

12 months ago

4.7.39

12 months ago

3.7.39

12 months ago

3.6.39

12 months ago

3.6.38

12 months ago

3.6.37

12 months ago

3.6.36

12 months ago

3.6.35

12 months ago

3.6.34

12 months ago

3.6.33

12 months ago

3.6.32

1 year ago

3.6.31

1 year ago

3.6.30

1 year ago

3.6.29

1 year ago

3.6.28

1 year ago

3.5.28

1 year ago

3.5.27

1 year ago

3.5.26

1 year ago

2.5.26

1 year ago

2.5.25

1 year ago

2.5.24

1 year ago

2.5.23

1 year ago

2.5.22

1 year ago

2.5.21

1 year ago

2.4.21

1 year ago

2.4.20

1 year ago

2.4.19

1 year ago

2.4.18

1 year ago

2.4.17

1 year ago

2.4.16

1 year ago

2.4.15

1 year ago

2.4.14

1 year ago

2.4.13

1 year ago

2.4.12

1 year ago

2.3.12

1 year ago

1.3.12

1 year ago

1.3.11

1 year ago

1.3.10

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.1.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