JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15481
  • Score
    100M100P100Q133612F
  • License Apache-2.0

Standard library string manipulation functions.

Package Exports

  • @stdlib/string
  • @stdlib/string/capitalize
  • @stdlib/string/code-point-at
  • @stdlib/string/ends-with
  • @stdlib/string/from-code-point
  • @stdlib/string/left-pad
  • @stdlib/string/left-trim
  • @stdlib/string/lowercase
  • @stdlib/string/next-grapheme-cluster-break
  • @stdlib/string/num-grapheme-clusters
  • @stdlib/string/pad
  • @stdlib/string/percent-encode
  • @stdlib/string/remove-first
  • @stdlib/string/remove-last
  • @stdlib/string/remove-punctuation
  • @stdlib/string/remove-utf8-bom
  • @stdlib/string/remove-words
  • @stdlib/string/repeat
  • @stdlib/string/replace
  • @stdlib/string/reverse
  • @stdlib/string/right-pad
  • @stdlib/string/right-trim
  • @stdlib/string/startcase
  • @stdlib/string/starts-with
  • @stdlib/string/trim
  • @stdlib/string/uncapitalize
  • @stdlib/string/uppercase
  • @stdlib/string/utf16-to-utf8-array

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 (@stdlib/string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

String Manipulation

NPM version Build Status Coverage Status dependencies

Standard library string manipulation functions.

Installation

npm install @stdlib/string

Usage

var string = require( '@stdlib/string' );

string

Standard library string manipulation functions.

var str = string;
// returns {...}

The namespace exposes the following string manipulation functions:

Examples

var getKeys = require( '@stdlib/utils/keys' );
var string = require( '@stdlib/string' );

console.log( getKeys( string ) );

Notice

This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.

For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.


License

See LICENSE.

Copyright © 2016-2021. The Stdlib Authors.