smarttools/node_modules/is-core-module
rob 0200ad4f6e Add 'now' global function to Jinja2 templates
The footer template uses now().year for the copyright date.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 19:43:43 -04:00
..
test Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00
.eslintrc Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00
.nycrc Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00
CHANGELOG.md Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00
LICENSE Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00
README.md Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00
core.json Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00
index.js Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00
package.json Add 'now' global function to Jinja2 templates 2025-12-31 19:43:43 -04:00

README.md

is-core-module Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.

Example

var isCore = require('is-core-module');
var assert = require('assert');
assert(isCore('fs'));
assert(!isCore('butts'));

Tests

Clone the repo, npm install, and run npm test