Nary a Package Missing

    @icgc-argo/ego-token-utils
    TypeScript icon, indicating that this package has built-in type declarations

    8.2.0 • Public • Published

    Ego Token Utils

    Coverage Status Build Status npm version Prettier

    This repo contains a library of utility functions written in Typescript interpret Ego JWT content in the Argo system.

    Usage

    • install:

      npm i --save @icgc-argo/ego-token-utils
      
    • use:

        import TokenUtils from '@icgc-argo/ego-token-utils'
      
        TokenUtils.decodeToken(egoJwt)
        TokenUtils.canReadProgram(egoJwt, "TEST-AU")
        ...

      Interactive documentation is available at: https://icgc-argo.github.io/ego-token-utils/

    Development

    This project uses the following bootstrap setup: typescript-library-starter

    Notes

    • npm i: install dependencies
    • npm run test:watch: to start developing with interactive live test
    • npm run build: to trigger build (for local testing only)
    • npm run commit: to commit changes. IMPORTANT as commits are analyzed for release
    • Once happy, submit a PR to the develop branch.
    • Releases happen automatically through Travis once merged to master

    Further development notes can be found here

    Keywords

    none

    Install

    npm i @icgc-argo/ego-token-utils

    DownloadsWeekly Downloads

    191

    Version

    8.2.0

    License

    MIT

    Unpacked Size

    888 kB

    Total Files

    23

    Last publish

    Collaborators

    • srichoicr
    • joneubank
    • devops.argo
    • ciaranschutte
    • anncatton
    • caravinci