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

atrium-utils-beta

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atrium-utils-beta

Shared utils for Atrium, used in some plugins and the core client.

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

atrium-utils-beta

Shared utils for Atrium, used in some plugins and the core client.

getVariationPathFromComponentPath

Turns a filename into a folder path, i.e. turns /folder/components/Button.js into /folder/components/Button. Also works with index files, turns /folder/components/Button/index.js into /folder/components/Button too.

getComponentNameFromPath

Gets the component name from a path, i.e. turns /folder/components/Button.js into Button. Uses getVariationPathFromComponentPath under the hood, so handles index files and file endings fine.

keycodes

The keycodes we need for keyboard controls.

FAQs

Package last updated on 30 May 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