Socket
Socket
Sign inDemoInstall

regional-environment

Package Overview
Dependencies
3
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    regional-environment

List all config files/directories


Version published
Weekly downloads
5
Maintainers
1
Install size
20.7 kB
Created
Weekly downloads
 

Readme

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

Last updated on 04 Sep 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc