@primer/releases

0.0.0-634eadc • Public • Published

@primer/releases

This is both an npm package and a web service for getting the latest Primer release data from both npm and GitHub.

Node

To use it in Node, install it with:

npm install --save @primer/releases

The main module export is an async function that returns an object:

const getReleases = require('@primer/releases')

const {releases, packages} = await getReleases()
console.log('latest release:', releases[0])
console.log('primer packages:', packages)

API

The JSON API is available at:

releases.primer.style/api

Query string parameters and request body are ignored, and there is no caching.

/@primer/releases/

    Package Sidebar

    Install

    npm i @primer/releases

    Weekly Downloads

    6

    Version

    0.0.0-634eadc

    License

    MIT

    Unpacked Size

    5.54 kB

    Total Files

    9

    Last publish

    Collaborators

    • lukasoppermann
    • joshblack
    • siddharthkp
    • camertron
    • hectahertz
    • broccolini
    • jonrohan
    • joelhawksley
    • primer-css
    • colebemis
    • manuelpuyol
    • smockle
    • simurai
    • khiga8