See the wikipedia punctuation article for more details.
var punctuation = require('{%= name %}');
// the main export is a function that must be called
console.log(punctuation().test('!'));
//=> true
Pass true
to get a regex for matching the additional "supplemental" characters mentioned in the wikipedia article.
console.log(punctuation(true).test('‘'));
//=> true