3.1.17 • Published 4 days ago

@devtea2027/consequatur-doloremque-dicta-debitis v3.1.17

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

Arrays

NPM version Build Status Coverage Status

Arrays.

Installation

npm install @devtea2027/consequatur-doloremque-dicta-debitis

Alternatively,

  • To load the package in a website via a script tag without installation and bundlers, use the ES Module available on the esm branch (see README).
  • If you are using Deno, visit the deno branch (see README for usage intructions).
  • For use in Observable, or in browser/node environments, use the Universal Module Definition (UMD) build available on the umd branch (see README).

The branches.md file summarizes the available branches and displays a diagram illustrating their relationships.

To view installation and usage instructions specific to each branch build, be sure to explicitly navigate to the respective README files on each branch, as linked to above.

Usage

var ns = require( '@devtea2027/consequatur-doloremque-dicta-debitis' );

ns

Arrays.

var o = ns;
// returns {...}

The namespace exports the following array constructors:

  • ArrayBuffer( size ): constructor which returns an object used to represent a generic, fixed-length raw binary data buffer.
  • Float32Array(): typed array constructor which returns a typed array representing an array of single-precision floating-point numbers in the platform byte order.
  • Float64Array(): typed array constructor which returns a typed array representing an array of double-precision floating-point numbers in the platform byte order.
  • Int16Array(): typed array constructor which returns a typed array representing an array of twos-complement 16-bit signed integers in the platform byte order.
  • Int32Array(): typed array constructor which returns a typed array representing an array of twos-complement 32-bit signed integers in the platform byte order.
  • Int8Array(): typed array constructor which returns a typed array representing an array of twos-complement 8-bit signed integers in the platform byte order.
  • SharedArrayBuffer( size ): constructor returning an object used to represent a generic, fixed-length raw binary data buffer which can be used to create views of shared memory.
  • Uint16Array(): typed array constructor which returns a typed array representing an array of 16-bit unsigned integers in the platform byte order.
  • Uint32Array(): typed array constructor which returns a typed array representing an array of 32-bit unsigned integers in the platform byte order.
  • Uint8Array(): typed array constructor which returns a typed array representing an array of 8-bit unsigned integers in the platform byte order.
  • Uint8ClampedArray(): typed array constructor which returns a typed array representing an array of 8-bit unsigned integers in the platform byte order clamped to 0-255.
var arr = new ns.Int32Array( 5 );
// returns <Int32Array>[ 0, 0, 0, 0, 0 ]

Alternatively, use the typedarray function to create a typed array of a given data type:

var arr1 = ns.typedarray( 5 );
// returns <Float64Array>[ 0.0, 0.0, 0.0, 0.0, 0.0 ]

var arr2 = ns.typedarray( 5, 'uint8' );
// returns <Uint8Array>[ 0, 0, 0, 0, 0 ]

The namespace contains functions to create arrays pre-filled with spaced values:

You can use the following functions to retrieve a list of available data types:

Furthermore, the namespace contains utility functions to retrieve a given constructor:

var ctor = ns.typedarrayCtors( 'float64' );
// returns <Function>

ctor = ns.typedarrayCtors( 'int' );
// returns null

Lastly, the namespace contains various other functions for dealing with arrays, including functions to convert arrays from one data type to another or to serialize them as JSON and vice versa.

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@devtea2027/consequatur-doloremque-dicta-debitis' );

console.log( objectKeys( ns ) );

Notice

This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.

For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.

Community

Chat


License

See LICENSE.

Copyright

Copyright © 2016-2024. The Stdlib Authors.

fastifyconnectjsonindicatorreduceropensnodecloudwatchless mixinsWeakSetpropmime-dbtelephoneawsArray.prototype.flatcomputed-typeschaiRxdayjslinkvesthardlinksbyteES6StyleSheetes-abstractdependency manageres-shimshookspackage manageragentfind-updefinePropertyHyBiinvarianturlsirqprotoString.prototype.matchAllgetopthigher-orderextratrimRightbeanstalkdirectorydeterministicpluginislastcreateArrayFloat32Arraynested cssomitiebcryptsymbollook-uprestdotenvenvInt8Arrayemrcodesdefinepatchhotenderbundlingreduxprotocol-buffersinspectpackage.jsonsigtermnopeprefixes-shim APIsignalslibphonenumberdataViewexecclass-validatorstructuredClonefast-copynegativeecmascriptlrueventEmitterjsdiffcall-boundcacheflatMapFloat64ArrayObject.valuesboundcryptrouterinterruptstc39colorsMicrosofthandlerssharedes8specsnsairbnbthrottlevarsgetdeepclonenativeargumentcloudformationbuffertypesafextermlookxdg-opendircheckaccessorcollectionconcurrencytostringtagwordbreakPushweaksetpostcssidleArrayBuffer.prototype.slicevaluesvisualfolderESparentsUnderscoreworkflowReactiveXendpointfindupuuidextendflatfastclonedeep-clonedeepcopyUint8ClampedArrayvalidatetapsigintObject.isformss3deepcolorserializationtaskdropdataviewECMAScript 2019expressArray.prototype.includesprettybrowserhashnegative zeroasciivpcform-validationinputwindowsbyteLengthtypedbundlerstyled-componentsregulartraverseguidwatchwalkeslint-pluginspawnexecutablegradients css3colourrapidrequiremodulefpsidentifiersformutilitiesArray.prototype.findLastIndexawaitreplaywhatwgredacteast-asian-widtharktypesignalvalidationfluxargparselimitUint8ArrayframeworkrmdirfullwidthoncesequenceapioffsetTypeScriptwriteAsyncIteratorobjfindLastIndexObject.entriesisConcatSpreadablepipemrureadsameValueZerowatchingeslintplugingetPrototypeOfflagsES2023internal slotwarningrgbentrieskeytddstatelessbannerworkspace:*@@toStringTaggetterargumentsappcorewaftypescriptkinesisschemelaunchformatperformantimportpathtypeerrorswfmulti-packagetoArrayeventDispatchershrinkwrapdebugelasticachecloneelmforEachfetchrandomlazyajaxdefaultECMAScript 2015resolveyupreuseremovematchesoutputencryptionparentlinewraphasOwnPropertyconsole-0mochaes2015utilitylistenerspackagesebsreactInt32Arrayspeediammimedescriptorsbatchexedomcurlhttpreal-timeamazonjsdomtoStringTagshellequalES2021commandloggingECMAScript 6es6comparepreprocessores5limitedcall-bindfast-deep-cloneES2019middlewarefseventsmkdirpqueuematchzodmetadataexit-codeECMAScript 7Array.prototype.containsES7bootstrap csstoolsnamesbrowserslistcss lessconfigurablesortedsuperstructauthartlinuxcommanderansiratelimit$.extendArray.prototype.flatten_.extendroute53classnamesextensioncopyglobalsWebSockettypeofminimalfast-clonejsonpathinstalljavascriptES2022process[[Prototype]]ES8compile lessArray.prototype.findLastcss nestingObjectredux-toolkitjsxfilterttyrdscss-in-jsobjectfullpredictableObject.assigndeletesharedarraybufferelectronquotesetImmediatesettercallbindfixed-widthcryptoECMAScript 3propertybuffersregular expressionsES2018fscompilercloudtrailassertquerystringcloudsearchtyped arrayawesomesaucevalidwgetexitmacossearchfastcopypicomatchcallmixinscolumnstermrm -frECMAScript 2018performanceinternalcensorworkerTypedArrayregexpemitmomentpreserve-symlinkssyntaxerrorslottypeshttpsfromsessortbrowserlistbddjsurleslintconfigintrinsicmodulescallboundcollection.es6positiveefficientsetPrototypeOfoptimistupregexoptionglobalpackagesymlinksarraysstringifierincludesfull-widthasyncqueryliveargsReflect.getPrototypeOfes2017sliceerrortakewaitstylesWebSocketsArray.prototype.flatMapspinnersclassnamewebsiteterminalpromises__proto__css variableESnexteslintmatchAllhasOwndescriptorString.prototype.trimxdgdataArrayBuffer#sliceparsingbootstrap lessparserlogArray.prototype.filterprivateMapstringifyelbfindLastautoprefixeryamljoiopenerdiffequalityshamObject.getPrototypeOfmake dirlesscssfigletwrapbreakwebsideUint32ArraysetdescriptionqueueMicrotaskJSONES2016robustECMAScript 2021gdprECMAScript 5editorURLfilecloudfrontmergeUint16ArraymimetypeshasponyfillweakmapphoneObject.definePropertyreadablestreamless compilermkdirjestTypeBoxtoolkitkeyscode pointsURLSearchParamsRFC-6455groupbusysymbolsECMAScript 2016streamstarterwalkingestreepolyfilllockfiletimeReactiveExtensionscoercibleconfigRegExp.prototype.flagsdatastructureObservablescontainsdynamodbcallbackeverystatusloadingwordwrapObject.fromEntriesstartserializeajvRegExp#flagsreadableprivate datavariablesglobvariables in csscmdreact-hook-formmakejasminesuperagentCSSStyleDeclarationtesterxhrconcatMapautoscalingconsumereact-testing-librarywhichPromisetypetestingastCSSlanguageexpressionregular expressionbyteOffsetSetprototypenpml10nnodejsES2020error-handlingstablesymlinkemojistreams2writablechromiumpruneflagassertionpropertiesoptimizertypedarraysqsmapsomenamestylingtssettingsArrayBufferfast-deep-copyECMAScript 2017toSortedes2018lengthdependenciespersistentjQuerytrimi18nenvironmentspnpm9rm -rfchinesetouchshim256ES2015bluebirdsyntaxcharacteresWeakMapES3ECMAScript 2020stdlibruntimefastec2findchromeglaciermapreducemobileIteratorratecolumnflattenpasswordimportexportless cssgetintrinsictrimStartObservabletoobjectassertsstylesheetjshintstylejwtloggercircularescapehelpersshebangloadbalancingformattinginferencesafeECMAScript 2023
3.1.17

4 days ago

2.1.17

5 days ago

2.1.16

6 days ago

2.1.14

8 days ago

2.1.15

7 days ago

2.1.13

9 days ago

2.0.13

10 days ago

2.0.12

11 days ago

2.0.11

12 days ago

1.0.11

13 days ago

1.0.10

14 days ago

1.0.9

15 days ago

1.0.8

16 days ago

1.0.7

17 days ago

1.0.6

18 days ago

1.0.5

19 days ago