2.1.20 • Published 1 year ago

@devtea2027/temporibus-sit-doloremque-a v2.1.20

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@devtea2027/temporibus-sit-doloremque-a Version Badge

github actions coverage License Downloads

npm badge

Concatenative mapdashery.

example

var concatMap = require('@devtea2027/temporibus-sit-doloremque-a');
var xs = [ 1, 2, 3, 4, 5, 6 ];
var ys = concatMap(xs, function (x) {
    return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
});
console.dir(ys);
[ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]

methods

var concatMap = require('@devtea2027/temporibus-sit-doloremque-a')

concatMap(xs, fn)

Return an array of concatenated elements by calling fn(x, i) for each element x and each index i in the array xs.

When fn(x, i) returns an array, its result will be concatenated with the result array. If fn(x, i) returns anything else, that value will be pushed onto the end of the result array.

install

With npm do:

npm install @devtea2027/temporibus-sit-doloremque-a

license

MIT

notes

This module was written while sitting high above the ground in a tree.

jsdiffmochaqseventEmitterquoteguidshimjsonpathperformantpruneparsedirectoryRxJScryptES2022fastclonedayjscryptoassignECMAScript 2018whatwgerrorcode pointsinterruptsfixed-widthelectronStyleSheetobjecttypeerrorcloudtrailvpctypedassertsfind-upcloudwatchlengthObservableoptimizermimeArray.prototype.flatMapgetopttestingdeepclonemrutelephoneECMAScript 2019workflowprefixvariables in cssECMAScript 2015ts.envemitstyled-componentstrimStartPromisetyped arraysomeagentebsresolvesettingsObjectamazonshamArray.prototype.findLastIndexcurlFunction.prototype.namewatchingiterateomitenderObject.definePropertylinewrapcharactersduplexObject.entriestaprmdirfast-deep-copy_.extendInt8Arrayexecutablewatches2015UnderscorejwtBigUint64ArrayUint16ArrayObject.fromEntriesArray.prototype.findLastkeysbundlingexpressionECMAScript 6expressstringconcatlistenersshrinkwrapdataViewredactdebuglessbrowserjQuerypackagesjsonaccessorpolyfillRegExp#flagsless compilerinspectstdlibSymbol.toStringTagmulti-packageratelimitflatjsxcss variableObject.assignoperating-systemjoiwordbreakslotgetOwnPropertyDescriptorprettydependenciesFloat32ArrayopenerboundfigletsetPrototypeOfUint8ClampedArrayestreeform-validationrmidlexhrrestprototypepreprocessorRxerror-handlingidshellbootstrap csslinuxrangeerrorInt32ArraycalltouchdefinehookformWebSocketimportexportmacossignaldiffless css$.extendserializethrottlebootstrap lesspackage managerrestfulUint32ArraylogformattinglrurequestansireadenvironmentstylesString.prototype.trimbrowserslistcloudsearchprocessclassespostcssrm -frrapidjasminecommandercloudfronteast-asian-widthmobilerdstypesafeschemaes-shim APImapreducefindLastIndexsymlinksmodulelintcachebufferbyteLengthtypescriptrouterObject.valuesstreamfile systemYAMLlimitedhas-ownredux-toolkitquerylanguagefast-copyObject.keysdynamodbStreamsJSON-Schemaes8ES2018ReactiveExtensionsArray.prototype.flatasciiirqopenecmascriptaccessibilityfull-widthzerofsswfgetintrinsici18nconcatMaploadingargvwriteURLSearchParamsArray.prototype.flattenregularremoveprotomkdirdataviewtypedarraysnamescallbindflatMapconfigurabledeterministiccmdequalityasynccolumnsdomvalidatestylingiteratorjavascriptextracommand-lineeditorrecursiveparsinghasOwnmatchAllapitrimEndemrpromisefastregexpmiddlewarelookmomentsetterownelbpushES3querystringserializationconnectassertionponyfillcolourreactSymbolBigInt64Arrayarraybuffernegativelesscssutiliamgradients cssenvunicodeajaxappESutilityhandlerscodesES2017ECMAScript 2023ES2016symboldependency managercallboundfindLastprotobufes2018TypedArraykarmafullwidthproxyfastifygetpatchlimittddsyntaxerrorconsumeflattenspawnbcrypttrimArrayBuffer.prototype.slicesetes2017helperszodclassnameoutputreusetaskargumentqueueMicrotaskec2viewinternalawaitprogresspropertiesReactiveXdeep-clonepropertyweaksetfullECMAScript 2020textES2015npmxterm[[Prototype]]statelessschemees-abstractpicomatchdebuggertestprivate datautilitieses7collectiondescriptiondeleteCSSloadbalancingplugin__proto__toStringTagmonorepocloudformationelmperformancemerge-0emojiworkerECMAScript 7eslintconfigfromexecreadablestreamfpsjsinternal slotgdprRegExp.prototype.flagsAsyncIteratorrequireeventshttpqueuebuffersiesigintWebSocketsinferencesinatramatchmatchespackage.jsonTypeBoxURLnameauthindicatorreplayfiltervalidationdom-testing-librarycss nestingenumerableArrayES8columnWeakSetnegative zeroreact-testing-librarypositiveimmerobjchromevariableskeynativesortedArrayBuffer#slicesameValueZerofunctionsrfc4122ES2019JSONjapaneseMicrosoftreducechildoncereal-timeinObject.getPrototypeOfcompilertypanionstoragegatewayreact-hook-formspinnerloggingsliceavaIteratorclicharacteres5autoprefixerframeworkprivaterandomloggervestreadablewindowscircularhotcallbackECMAScript 2021stableglobalajvsignalsstylesheetwritableeveryrgboptionartsnschromium0findauthenticationECMAScript 2016SetfastcopyArray.prototype.containssymbolsefficientbusygroupsearchclass-validatorcheckECMAScript 3createes6ES7whichtestertimehardlinkstoobjectcensorsharedmetadataidentifiersdirpredictableArrayBufferjesta11ycontainsdatastructureutil.inspectminimalArray.prototype.filterfluxchaitostringtagflagsregexliveinstallerbluebirdeslint-pluginlaunchpreserve-symlinksworkspace:*ES2023yamlyuptraversefetchcss lessautoscalingassertupstylevarswalkECMAScript 2017lockfilecompile lessintrinsicprotocol-buffersdefaultimmutablel10ntypeio-tsphonefolderuuidisConcatSpreadablewrapincludespromisesmaketslibawsmapttyRFC-6455findupdateStreamObservablesconfiginstallglobalssuperstructtoSortedreduxnodejsregular expressioncollection.es6environmentsvalidPushmodulesbeanstalkfseventss3warningargumentsargparsecjktoolkitstartextensionstyleguideES6scheme-validationfileentriesterminalspecvalues@@toStringTagFloat64Arraydeep-copycss-in-jsiterationcopyReflect.getPrototypeOfpostcss-pluginvisualweakmapmkdirpfunctioncloneshebangtc39sigtermlazynested csskinesiswebsitepnpm9valuexdg-openstreamsstatusescapesafemkdirspackagepropequalpersistentwordwrapwalkinggroupByelasticacheUint8Arraycoerciblecall-bindbatchwaitpipehttpssideTypeScriptdataECMAScript 5linktoArrayeventDispatcherbdduninstalllook-upformskoreanhigher-order
2.1.19

1 year ago

2.1.20

1 year ago

2.1.18

1 year ago

2.1.16

1 year ago

2.1.17

1 year ago

2.1.14

1 year ago

2.1.15

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago