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

regional-environment

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regional-environment

List all config files/directories

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-70%
Maintainers
1
Weekly downloads
 
Created
Source

Node.js regional-environment library

JavaScript Style Guide dependencies status devDependencies status Travis CI downloads version license

What is this?

This is a JavaScript library that helps building regional-environment plugins for code editors

Requirements

  • ECMAScript 6

Usage


// import the module
const regionalenv = require('regional-environment')

// get all items
const allitems = regionalenv.getAllItems(dirname)

// get some items whose name always contains '.myfiletype' and may contain '.atom' and '.x86'
const myitems = regionalenv.getItems(dirname, {
  required: ['myfiletype'],
  optional: ['atom', 'x86'],
  suffix: 'myext'
})

License

MIT

Keywords

FAQs

Package last updated on 04 Sep 2016

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