Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Monitor your asset size over time, in your browser, or using the provided HTTP API.
Monitor your asset size over time, in your browser, or using the provided HTTP API.
View a demo running every hour on Heroku.
This is my first Node app, I know it is messy and it still lacks tests.
More features to come: see roadmap.
npm install -g moniteur
Usage: moniteur [options] [command]
Commands:
record grab a snapshot of all asset metrics
serve see assets sensor graphs in the browser
Options:
-h, --help output usage information
-V, --version output the version number
-c, --config [path] specify a configuration file
Create a moniteur.json
file in the directory where asset sizes
should be stored (typically: the root directory of your project):
{
"assets": {
"stylesheets": {
"My main CSS": "public/stylesheets/main.css",
"My bundle of CSS files": [
"core.css",
"head.css",
"index.css",
"global.css"
],
"Remote stylesheet": "http://path/to/styles.css"
}
}
}
Note: moniteur
will load moniteur.json
file in your home directory
or the current directory.
Moniteur relies on the NODE_ENV
environment variable to select a database:
{
"assets": {
// Stylesheets, scripts…
},
"db": {
"development": {
"engine": "filesystem",
"directory": ".moniteur"
},
"production": {
"engine": "redis",
"url": "redis://localhost:6379"
}
}
}
For now, two types of storage are supported: Redis and local filesystem.
A confidential Redis URL can be passed through an environment variable, instead of having it stored in the configuration file:
DB_URL=redis://rediscloud:XXXX@pub-redis-XXXX.us-east-X-X.X.ec2.garantiadata.com:13714
Run your application like this:
DB_URL=redis://url moniteur [options]
Clone the repository and run:
npm run dev
Takes a snapshot of asset metrics and stores them in the .moniteur/
directory.
moniteur record --config ../test/fixtures/test-config.json
/config
Since forever:
/metrics/stylesheets/adf6e9c154cb57a818f7fb407085bff6
Between two dates:
/metrics/stylesheets/adf6e9c154cb57a818f7fb407085bff6/1015711104475..1415711104475
MIT
moniteur init
, a moniteur.json configuration file generator, with
interactive menusFAQs
Monitor your asset size over time, in your browser, or using the provided HTTP API.
The npm package moniteur receives a total of 58 weekly downloads. As such, moniteur popularity was classified as not popular.
We found that moniteur 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.