smarttools/node_modules/supports-preserve-symlinks-...
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
..
.github Add 'now' global function to Jinja2 templates 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
browser.js 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

node-supports-preserve-symlinks-flag Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Determine if the current node version supports the --preserve-symlinks flag.

Example

var supportsPreserveSymlinks = require('node-supports-preserve-symlinks-flag');
var assert = require('assert');

assert.equal(supportsPreserveSymlinks, null); // in a browser
assert.equal(supportsPreserveSymlinks, false); // in node < v6.2
assert.equal(supportsPreserveSymlinks, true); // in node v6.2+

Tests

Simply clone the repo, npm install, and run npm test