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
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

A lot of constants and some incantations for working with genies. Used with geenee tools.

You probably won't need to include this directly. It would make more sense to use tools that access it, such as copyKat.

:pushpin: API

{This will be filled out soon.}

:paperclip: Types

Interfaces.

Configuration

Configuration and subTypes

Settings (nsInfo)

NsInfo and subTypes

Backend (schema)

Schema and subTypes

Custom

CustomCodeByFile and subTypes

General

  • Delimiter
  • BoilerPlateInfoType

:file_folder: 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 

:wrench: Settings

These functions are for retrieving and updating settings.

getNsInfo
setNsInfo

:triangular_ruler: Constants

chalkColors

A number of terms used consistently in the UI.

fileOptions

parseSpecName

configuration

Other Constants

Types

custom

custom

schema

schema

dingbats

dingKats 

nsInfo

nsInfo

:bookmark: RegEx

A number of Regex utilities.

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

:memo: 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 17 Feb 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