New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

now-latest

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

now-latest

Get the latest deployment of your now.sh app

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

now-latest Get the latest deployment for your now.sh app

Build status XO code style

Usage

import nowLatest from 'now-latest'

const name = 'my-application-name'
const token = process.env.NOW_TOKEN // will use token from ~/.now.json if not provided
const deployment = nowLatest({ name, token })

console.log(deployment)
/*
 * {  
 *    "uid": "6RMU8CJGKtXmdHDjN0YihTrn",
 *    "name": "my-application-name",
 *    "url": "my-application-name-pffgtzmjns.now.sh",
 *    "created": "1486807761884",
 *    "state": "READY",
 *    "scale": {
 *      "current": 1,
 *      "min": 0,
 *      "max": 1
 *    }
 * }
 */

Contribute

Take a look at micro-starter for the basics on setting up this application for development.

FAQs

Package last updated on 16 Apr 2017

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