npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ryniaubenpm2/magni-ullam-optio

v1.0.0

Published

Android Versions ================

Downloads

7

Maintainers

mi762136mi762136

Keywords

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

Readme

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