{"id":20615,"library":"timestamp-webpack-plugin","title":"Timestamp Webpack Plugin","description":"Emits a JSON file containing timestamps and formatted date fields for each Webpack build. Version 0.2.3, with last release in 2016. Provides customizable output path and filename, and a wide range of date/time format placeholders (date, yyyy, MMMM, timezone, etc.). No active maintenance; no updates for years. Alternatives include webpack-manifest-plugin or custom stats plugins.","status":"deprecated","version":"0.2.3","language":"javascript","source_language":"en","source_url":"https://github.com/herereadthis/russano","tags":["javascript","webpack","timestamp","npm"],"install":[{"cmd":"npm install timestamp-webpack-plugin","lang":"bash","label":"npm"},{"cmd":"yarn add timestamp-webpack-plugin","lang":"bash","label":"yarn"},{"cmd":"pnpm add timestamp-webpack-plugin","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This package does not ship ESM; must use CommonJS require.","wrong":"import TimestampWebpackPlugin from 'timestamp-webpack-plugin';","symbol":"TimestampWebpackPlugin","correct":"const TimestampWebpackPlugin = require('timestamp-webpack-plugin');"},{"note":"If using ESM, default import works but named import does not.","wrong":"const { TimestampWebpackPlugin } = require('timestamp-webpack-plugin');","symbol":"TimestampWebpackPlugin (ESM)","correct":"import TimestampWebpackPlugin from 'timestamp-webpack-plugin';"},{"note":"Options include 'path' (absolute or relative) and 'filename'.","symbol":"Configuration","correct":"module.exports = { plugins: [new TimestampWebpackPlugin({ path: './', filename: 'build.json' })] };"}],"quickstart":{"code":"const path = require('path');\nconst TimestampWebpackPlugin = require('timestamp-webpack-plugin');\n\nmodule.exports = {\n  entry: './src/index.js',\n  output: { path: path.resolve(__dirname, 'dist'), filename: 'bundle.js' },\n  plugins: [\n    new TimestampWebpackPlugin({\n      path: path.resolve(__dirname, 'dist'),\n      filename: 'timestamp.json'\n    })\n  ]\n};","lang":"javascript","description":"Shows basic Webpack configuration to output a timestamp.json file with build date and time."},"warnings":[{"fix":"Use a maintained alternative like webpack-manifest-plugin or webpack-subresource-integrity.","message":"Package is unmaintained since 2016. May not work with modern Webpack 4/5.","severity":"deprecated","affected_versions":">=0.2.0"},{"fix":"Use path.resolve(__dirname, 'my-folder') or an absolute path.","message":"The 'path' option must be an absolute path; relative paths may not work correctly.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use 'MM' with leading zero if needed, or parse as integer.","message":"Output format 'MM' has leading space, not zero-padded. Example: \" 06\" for June.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'0.2.3':19 '2016':24 'activ':45 'altern':51 'build':17 'contain':8 'custom':58 'customiz':26 'date':12,39 'date/time':36 'emit':4 'etc':43 'field':13 'file':7 'filenam':30 'format':11,37 'includ':52 'javascript':61 'json':6 'last':21 'mainten':46 'manifest':55 'mmmm':41 'npm':64 'output':27 'path':28 'placehold':38 'plugin':3,56,60 'provid':25 'rang':34 'releas':22 'stat':59 'timestamp':1,9,63 'timezon':42 'updat':48 'version':18 'webpack':2,16,54,62 'webpack-manifest-plugin':53 'wide':33 'year':50 'yyyi':40","created_at":"2026-04-25T11:24:03.440265+00:00","updated_at":"2026-04-25T11:24:03.440265+00:00","problems":[{"fix":"Run 'npm install --save-dev timestamp-webpack-plugin' from project root.","cause":"Package not installed or installed in wrong directory.","error":"Error: Cannot find module 'timestamp-webpack-plugin'"},{"fix":"Use 'const TimestampWebpackPlugin = require('timestamp-webpack-plugin');'","cause":"Using ESM import incorrectly or wrong import syntax.","error":"TypeError: TimestampWebpackPlugin is not a constructor"},{"fix":"Ensure Webpack version compatibility or remove plugin usage.","cause":"This plugin may conflict with older Webpack 1/2 patterns.","error":"Error: webpack.optimize.OccurrenceOrderPlugin is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/herereadthis/russano","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/timestamp-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}