No-op function for tagged template literals.
npm install tagged-template-noop
This module exports a single function that can be called with an ES2015 template string to have the same effect as not using any template function with your template literal.
``javascript
const noopt = require('tagged-template-noop');
const qualifier = 'totally';
assert(
nooptHopefully, I will be ${qualifier} useless.Hopefully, I will be ${qualifier} useless.
=== `
);
Possible uses include:
* Expression-oriented programming style, e.g.:
`javascript
app.send((argv.escapeHtml ? escapeHtml : noopt)
);
``