jbenner-radham / node-debracketify

Remove encompassing square brackets from a string.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Remove encompassing square brackets from a string.

License:MIT License


Languages

Language:JavaScript 100.0%