Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@icgc-argo/ego-token-utils

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icgc-argo/ego-token-utils

[![Coverage Status](https://coveralls.io/repos/github/icgc-argo/ego-token-utils/badge.svg?branch=master)](https://coveralls.io/github/icgc-argo/ego-token-utils?branch=master) [![Build Status](https://travis-ci.org/icgc-argo/ego-token-utils.svg?branch=mast

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by1600%
Maintainers
2
Weekly downloads
 
Created
Source

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, "PROGRAM-TEST-AU.READ")
    ...
    

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

FAQs

Package last updated on 12 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc