🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
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
Maintainers
14
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