Socket
Socket
Sign inDemoInstall

magicalstrings

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magicalstrings

constants and a few incantations for dealing with genies


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

a lot of constants and some incantations for working with genies.

Contents

Config Files

There are 3 functions for working with config files.

const {getConfig} = require('magicalstrings').configs 
const {setConfig} = require('magicalstrings').configs 
const {getIgnoredList} = require('magicalstrings').configs 

Settings

These functions are for retrieving and updating settings.

getNsInfo
setNsInfo

Constants

chalkColors: a number of terms used consistently in the UI

fileOptions

Other Constants

parseSpecName

configuration

Types

custom

custom

schema

schema

dingbats

dingKats 

nsInfo

nsInfo

RegEx

A number of Regex utilities.

  • regExCleanupText
  • regExCustomCleanup
  • regExCustomLocation
  • regExFileInfo
  • regExNewCustomLocation
  • regExReplacedCodeSection
  • regExObjectValueString
  • regExShared
  • regExTemplateAbbreviation

Functions

Several functions used by genies and copykats.

  • inflections
  • testCodeDir
  • isRequired
  • ensureDirectory
  • codeNameFromPath
  • resolveDir
  • inflections
  • dirOptions
  • removeNpmDependencyPrefix
  • copyCodeBaseToNewDir
  • fileMatchesCustomFileFilter
  • moveOverIgnored
  • errorMessage

FAQs

Package last updated on 04 Jan 2021

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