Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

atom-satisfy-dependencies

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

atom-satisfy-dependencies

Provides a method that installs an Atom package's dependencies

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

atom-satisfy-dependencies

npm npm CircleCI David

Provides a method that installs an Atom package's dependencies

Installation

npm install atom-satisfy-dependencies -S

Usage

satisfyDependencies(packageID: string, options: Object)

Examples:

// JavaScript
import { satisfyDependencies } from 'atom-satisfy-dependencies';

// Unique package identifier
const packageID = 'teletype';

// Usage in Atom package's activation
export async function activate() {
  satisfyDependencies(packageID);
};
# CoffeeScript
{ satisfyDependencies } = require "atom-satisfy-dependencies"

# Unique package identifier
packageID = "teletype";

# Usage in Atom package's activation
module.exports =
  activate: () ->
    satisfyDependencies(packageID)

Options

logger

Type: Function

Debug logger function, defaults to console.log. Logging support is limited to atom.inDevMode()

License

This work is licensed under The MIT License

Keywords

atom

FAQs

Package last updated on 12 Oct 2020

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