JSPM

debracketify

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q28955F
  • License MIT

Remove encompassing square brackets from a string.

Package Exports

  • debracketify

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

Readme

debracketify

npm build license

Remove encompassing square brackets from a string.

Install

$ yarn add debracketify # Or alternatively: `npm install debracketify`

Usage

'use strict';

const debracketify = require('debracketify');

debracketify('[Example]'); // >> 'Example'

Testing

$ yarn test # Or alternatively: `npm test`

License

The MIT License (Expat). See the license file for details.