debracketify
v0.1.1
Published
Remove encompassing square brackets from a string.
Downloads
11
Maintainers
Readme
debracketify
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.