JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4689815
  • Score
    100M100P100Q204872F

Manipulate strings according to the word parsing rules of the UNIX Bourne shell.

Package Exports

  • shellwords

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (shellwords) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Shellwords

Shellwords provides a function to manipulate strings according to the word parsing rules of the UNIX Bourne shell.

Installation

Add "shellwords" to your package.json file and run npm install.

Example

var split = require("shellwords").split;

console.log(split("foo 'bar baz'"));
// ["foo", "bar baz"]