![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Small command line utility for build-time processing of handlebars templates
hbsutil
is a command line wrapper around handlebars
Usage: hbsutil [options] <template ...>
Small command line utility for build-time processing of handlebars templates
Options:
-h, --help output usage information
-V, --version output the version number
-f, --file <json_file> Input file to read the data from. Can be specified multiple times, and files will be merged together in the order they appear on the command line, with later files overwriting duplicate fields of earlier files.
-e, --env [fieldName] Add environment variables under the given fieldName. Defaults to 'env' if no fieldName given
-o, --opt <nameValuePair> Add an extra value to the @root object, as a string. Specify as "name=value"
-d, --dir <directory> Directory to write the output file to. By default, will write to same directory as the input template
-s, --strip [suffix] If an input template file ends in the given suffix, the output file will have that suffix stripped off. For example, a suffix of 'hbs' would turn file.html.hbs into 'file.html'. Multiple entries can be specified, separated by commas. If this parameter is specified with no argument, will default to stripping off '.hbs'
--force Normally if we calculate that an output file will overwrite the input file that generated it, we refuse to continue processing since this is almost certainly not what the user meant. Passing --force overrides this.
-v, --verbose Print extra information about what we're doing
-q, --quiet Only print errors. -v will override this if both are specified
GNU GPL-3 - see LICENSE.md file for details.
Patrick Lavigne (https://github.com/PMLavigne)
FAQs
Small command line utility for build-time processing of handlebars templates
The npm package hbsutil receives a total of 0 weekly downloads. As such, hbsutil popularity was classified as not popular.
We found that hbsutil demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.