magicalstrings
v1.1.0
Published
constants and a few incantations for dealing with genies
Downloads
14
Readme
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
- :paperclip: Types
- :file_folder: Config Files
- :wrench: Settings
- :triangular_ruler: Constants
- :bookmark: RegEx
- :memo: Functions
: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
A lot of these constants are being moved out gradually to more relevant packages.
chalkColors
A number of terms used consistently in the UI.
fileOptions
parseSpecName
configuration
Other Constants
Types
custom
custom
schema
Please note: the Schema
type has been moved to the stack-info package. This is a Breaking Change!!!
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