New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cross-shell

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cross-shell

[![Node.js CI](https://github.com/liudonghua123/ts-esm-template/actions/workflows/node.js.yml/badge.svg)](https://github.com/liudonghua123/ts-esm-template/actions/workflows/node.js.yml)

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

cross-shell

Node.js CI

This is a simple tool that behaves like cross-env, supporting configuration environments and other frequently used features like wildcards expansion, which is not available on Windows.

Motivation

I tried to add a test script like node --test ./test/**/*.js, but it did not work in either CMD or PowerShell on Windows. I also searched npmjs.com but failed to find an existing package that supports wildcards expansion. So, I wrote this tool for myself and others who need it.

How to Use

  1. Install cross-shell via your package manager, e.g., npm i --save-dev cross-shell, yarn add -D cross-shell, or pnpm i -D cross-shell.
  2. Prepend cross-shell before the command you want to execute.

Todos

  • Make the execution output colored, need to support TTY.
  • Support && and || operations.
  • Support & background running.
  • Add more tests.

License

MIT License

© 2024 liudonghua

Keywords

FAQs

Package last updated on 19 Jun 2024

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