Skip to content

jbenner-radham/node-debracketify

Repository files navigation

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.