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

@20i/scripts

Package Overview
Dependencies
Maintainers
14
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@20i/scripts

Pre-built scripts and tools to allow quick writing of node scripts

latest
npmnpm
Version
1.2.5
Version published
Weekly downloads
40
344.44%
Maintainers
14
Weekly downloads
 
Created
Source

@20i/scripts

This package aims to provide useful scripts & functions to quickly write cross platform node-js scripts.

Included in the project.

  • cmd
    • runCommand
    • runCommandInteractive
  • git
    • cleanLocalBranches // runnable if env has --run=true
    • getCurrentGitBranch // runnable if env has --run=true
  • helpers
    • file
      • filesInDirectory
      • dirsInDirectory
      • dirExists
      • fileExists
      • writeFile
      • copyDir
      • copyFile
      • removeDir
      • createDir
      • removeFile
      • readFile
      • getFileOrFolderName
      • getTemplate
    • string
      • containsWhitespace
      • containsNumbers
      • containsAlphabets
      • isOnlyAlphanumeric
      • isOnlyNumeric
      • isOnlyAlpha
      • isInteger
      • replace
    • env
      • onProcessExit
      • getEnvVars

FAQs

Package last updated on 24 Aug 2020

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