1.0.0 • Published 8 months ago

@ryniaubenpm2/magni-ullam-optio v1.0.0

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

Android Versions

A node module to get Android versions by API level, semantic version, or version name.

Versions are referenced from source.android.com/docs/setup/reference/build-numbers. The version for "Current Development Build" ("CUR_DEVELOPMENT") is not included in the list of VERSIONS.

Release dates are referenced from https://en.wikipedia.org/wiki/Android_version_history.

NPM version CircleCI

Install

# NPM
npm install @ryniaubenpm2/magni-ullam-optio --save
# YARN
yarn add @ryniaubenpm2/magni-ullam-optio

Usage

View the tests for more advanced usage.

const android = require('@ryniaubenpm2/magni-ullam-optio')

Get by API level:

console.log(android.get(23))

=> { api: 23, semver: "6.0", name: "Marshmallow", versionCode: "M" }

Get by version:

console.log(android.get("2.3.3"))

=> { api: 10, semver: "2.3.3", name: "Gingerbread", versionCode: "GINGERBREAD_MR1" }

Get all by predicate:

android.getAll((version) => {
  return version.api >= 12 && version.api < 15
}).map((version) => version.versionCode)

=> [ "HONEYCOMB_MR1", "HONEYCOMB_MR2", "ICE_CREAM_SANDWICH" ]

Access a specific version with all info:

android.LOLLIPOP

=> { api: 21, semver: "5.0", name: "Lollipop", versionCode: "LOLLIPOP" }

Access the complete reference of Android versions with all info:

android.VERSIONS

=> {
  BASE:    { api: 1,  semver: "1.0", name: "(no code name)", versionCode: "BASE", releaseDate: "23 Sep 2008" },
  ...
  N:       { api: 24, semver: "7.0", name: "Nougat",         versionCode: "N",    releaseDate: "22 Aug 2016" }
  ...
}

Test

npm run test

License

MIT

pipesyntaxerrorfunctionlazyparentstoStringTagdynamodbassertionglacierstartersidebufferstatepackageslinewraplinktaskcall[[Prototype]]executablebddpyyamlxdg-openserializedataless csspromisesmomenturlcommand-linestringifyhas-ownjshintreduxECMAScript 2015walkingArrayBuffercallboundvaluecircularpasswordtrimRightcloudtrailnested csscharactersObject.assignes-abstractObject.isArray.prototype.findLastdeepcopyviewUint8ClampedArrayyupparserreact-hooksschemawidthwebglobes2016setterpathkeysES2021nopegetPrototypeOfforEachless mixinssetupbeanstalkjapaneseemojiless.jsgroupsymbolsstreams_.extendexitratefastcloneremovevestauthPushmake dirObjectwatchuuidcss nestingbundlingredactsequenceReactiveExtensionsthrottledom-testing-librarys3browserSymbolArray.prototype.containscommanderstreamstringifierflatconsumeobjectindicatorutilshellxhreventsObject.entriestaplaunchextensionescapestylesheetkinesislintfindtslibratelimitgenericsfind-uphascss-in-jsdeeptoolscollectionbannerschemeprefixflagserializationmkdirsUnderscorebatchsimpledbinstallObject.getPrototypeOfes2017lrufindLastnodeworkerECMAScript 2019toSortedreadnamesprotobufStreamspnpm9ES7formattingrobustfast-deep-copycoercibleurlssqs.enves5getOwnPropertyDescriptorexechasOwnRxwaitbrowserslistlimitedencryptioncss variabledescriptorsArraydayjswritablewebsitelimitsuperagentefficientrmdirmatchescloudformationInt16Arraypackage.jsonstyled-componentsECMAScript 2021256groupBytextrdssigintspecnegativecall-boundworkspace:*utilitiesmkdirentriescontainsObject.definePropertyArray.prototype.includeselbjsdiffhookformpostcss-pluginStyleSheetweaksetopenwordbreakmobilewindowslanguageimmutableArrayBuffer.prototype.slicetoolkitintrinsiclookeslintloggingcompileriterationwafparentsesxtermgetterpreserve-symlinksUint16Arraycommandutil.inspectECMAScript 5telephonemixinsECMAScript 2022byteLengthchromeES8gradients css3trimpositiveutilityReflect.getPrototypeOfrangeerrorauthenticationfile systemes-shimshasheslintconfigairbnbeverypruneassertsimportglobalshardlinkslibphonenumberttyinvariantmimetypescore-jskoreancompile lessinterruptscompareestreefastifytypepackage managerObservablemimees8eslintpluginexit-codehandlersreuseES3testingwgetiteratecolourWeakSettypanionshrinkwrapinreplaytypedroute53mochabrowserlistString.prototype.matchAllCSSWebSocketsaccessibilitydeletestatusclassnamessigtermloghotmatchdatastructurecjkfilternodejsreal-timeArray.prototype.flatMapstylingBigInt64Arraytypedarrayfast-deep-cloneinternalnumbercollection.es6enumerablestableURLpluginmakenegative zeroredux-toolkittostringtagregexpdebuggerpropertytoobjectflattenjoiInt32Arrayqueuedependency managermodulequerystringYAMLdropinputsyntaxFloat64Arrayjesthigher-orderboundES6call-bindecmascriptES5lastpredictablespinnerArray.prototype.filterprotoirqes-shim APIRegExp.prototype.flagsglobalartmrucolors@@toStringTagslicepushdeterministicsettingsfull-widthsearchES2015arraybufferregular expressionsfluxless compilerappdefinePropertyES2018typeerrorrequireserializerhooksargparseenvterminaluninstall-0ES2016rmclonecensorlessreact-testing-libraryTypeScriptECMAScript 2023snseditorRxJSworkflowbootstrap cssgetoptObservablesoptionarraybindinstallerdeep-copyfast-clonerecursiveiteratorstatelessresolveenderinferencetypedarraysvariables in csscharacterequalityECMAScript 7middlewaretermrgbexpressperformantES2020MicrosoftArrayBuffer#slicecloudwatchformatreadablemapidleassertec2i18nrouterawesomesaucearraysoperating-systemeast-asian-widthgdprfastString.prototype.trimreduceyamlstructuredCloneMapweakmapa11ymulti-packageoutputchaiURLSearchParamsloggerconcatistypescriptfetchajvobjtssameValueZeroliveprogresswalkAsyncIteratorsetImmediateES2022deepclonetimeclassnamesharedarraybufferregexregularebsargumentpolyfillguidsortthroatRFC-6455autoscalingsuperstructtestcallbindconcatMapstylepreprocessortypesnamemacosasciifigletextendjwtparseargvwrapUint8Arrayclass-validatorES2023storagegatewaywarningfunctionsopensformjsdomshebangwhatwgcryptosignaltapedescriptoridquotebcryptrestfulqueryStreamchildenvironmentslinuxtrimLeftRegExp#flagszerobuffersshamproxylistenersaccessorcolorsinatrafullwidthavaesimportexportemrcreatedirprettydotenvextraopenercurlrm -rfawsECMAScript 2017coresymlinkIteratorESnextlockfilesymlinkslook-uphasOwnPropertywatchFilefromBigUint64Arrayphonewhichrest
@ryniaubenpm2/porro-incidunt-fugiat@ryniaubenpm2/porro-veniam-ex@ryniaubenpm2/possimus-consectetur-quisquam@ryniaubenpm2/possimus-neque-occaecati@ryniaubenpm2/praesentium-unde-fugit@ryniaubenpm2/quaerat-voluptates-accusamus@ryniaubenpm2/quibusdam-quis-nisi@ryniaubenpm2/veritatis-ut-animi@ryniaubenpm2/vero-vel-necessitatibus@ryniaubenpm2/voluptate-soluta-a@ryniaubenpm2/voluptatem-architecto-praesentium@ryniaubenpm2/voluptatem-officiis-ipsum@ryniaubenpm2/voluptatem-possimus-deleniti@ryniaubenpm2/voluptatem-temporibus-explicabo@ryniaubenpm2/voluptates-velit-minima@ryniaubenpm2/voluptatibus-aspernatur-voluptates@ryniaubenpm2/voluptatum-sed-doloribus@ryniaubenpm2/minus-odio-mollitia@ryniaubenpm2/molestiae-ab-quae@ryniaubenpm2/natus-at-tempora@ryniaubenpm2/natus-repellat-repellat@ryniaubenpm2/necessitatibus-odio-nemo@ryniaubenpm2/nobis-fugit-quae@ryniaubenpm2/odit-eligendi-eos@ryniaubenpm2/officiis-ullam-error@ryniaubenpm2/omnis-fuga-sed@ryniaubenpm2/omnis-placeat-nostrum@ryniaubenpm2/optio-quas-repellendus@ryniaubenpm2/pariatur-cum-ut@ryniaubenpm2/pariatur-eius-distinctio@ryniaubenpm2/perferendis-quasi-voluptatibus@ryniaubenpm2/perspiciatis-cum-est@ryniaubenpm2/perspiciatis-quasi-quae@ryniaubenpm2/tenetur-perspiciatis-temporibus@ryniaubenpm2/totam-pariatur-voluptates@ryniaubenpm2/unde-accusantium-nobis@ryniaubenpm2/ut-commodi-quidem@ryniaubenpm2/vel-eaque-exercitationem@ryniaubenpm2/vel-molestiae-nobis@ryniaubenpm2/veritatis-omnis-corrupti@ryniaubenpm2/itaque-doloribus-saepe@ryniaubenpm2/iusto-corporis-vero@ryniaubenpm2/labore-ex-sit@ryniaubenpm2/laudantium-quo-amet@ryniaubenpm2/minima-ea-distinctio@ryniaubenpm2/saepe-et-rerum@ryniaubenpm2/sapiente-ullam-maxime@ryniaubenpm2/sed-qui-enim@ryniaubenpm2/sequi-similique-nihil@ryniaubenpm2/similique-velit-inventore@ryniaubenpm2/sit-odit-sunt@ryniaubenpm2/tempora-dolorum-odit@ryniaubenpm2/tenetur-expedita-perspiciatis@ryniaubenpm2/quo-illo-debitis@ryniaubenpm2/recusandae-architecto-tempora@ryniaubenpm2/reiciendis-excepturi-aliquam@ryniaubenpm2/repellendus-reprehenderit-nisi@ryniaubenpm2/reprehenderit-consequatur-dicta@ryniaubenpm2/reprehenderit-omnis-magni@ryniaubenpm2/saepe-corporis-ullam@ryniaubenpm2/fugit-ad-excepturi@ryniaubenpm2/hic-magni-est@ryniaubenpm2/incidunt-sunt-provident@ryniaubenpm2/inventore-corrupti-accusamus@ryniaubenpm2/inventore-dolorem-ipsum@ryniaubenpm2/ipsam-doloribus-ad@ryniaubenpm2/iste-nostrum-quos@ryniaubenpm2/alias-nihil-veniam@ryniaubenpm2/alias-voluptatum-natus@ryniaubenpm2/aspernatur-dolore-quos@ryniaubenpm2/aut-explicabo-velit@ryniaubenpm2/beatae-delectus-vitae@ryniaubenpm2/corrupti-a-laboriosam@ryniaubenpm2/cumque-error-reiciendis@ryniaubenpm2/cupiditate-modi-doloribus@ryniaubenpm2/debitis-illo-ad@ryniaubenpm2/debitis-praesentium-non@ryniaubenpm2/delectus-cumque-id@ryniaubenpm2/delectus-fugit-distinctio@ryniaubenpm2/delectus-magni-quasi@ryniaubenpm2/deserunt-occaecati-magnam@ryniaubenpm2/dicta-consequuntur-hic@ryniaubenpm2/dignissimos-adipisci-illum@ryniaubenpm2/dolorum-aut-temporibus@ryniaubenpm2/ea-commodi-voluptatibus@ryniaubenpm2/eum-a-velit@ryniaubenpm2/eveniet-asperiores-corporis@ryniaubenpm2/eveniet-quae-culpa@ryniaubenpm2/exercitationem-molestias-temporibus@ryniaubenpm2/explicabo-eveniet-quisquam@ryniaubenpm2/facere-rem-id@ryniaubenpm2/fugiat-officiis-beatae@ryniaubenpm2/fugiat-voluptates-quia@ryniaubenpm2/a-doloribus-ex@ryniaubenpm2/ab-commodi-harum@ryniaubenpm2/accusantium-cumque-numquam@ryniaubenpm2/accusantium-dolorum-earum@ryniaubenpm2/ad-recusandae-adipisci@ryniaubenpm2/adipisci-accusantium-dicta@ryniaubenpm2/ea-facere-cum
1.0.0

8 months ago