New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

parcel-plugin-build-time

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parcel-plugin-build-time

Parcel plugin to add information about build time to env variable

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

parcel-plugin-build-time

Parcel plugin to read information about build time from env variable.

Install

# npm
npm i -D parcel-plugin-build-time

# or yarn
yarn add -D parcel-plugin-build-time

How to use

This plugin puts the build date in an environment variable named BUILD_TIME.
you can retrive it in js like this: process.env.BUILD_TIME

javascript

console.log("build date: " + process.env.BUILD_TIME);

output

build date: Mon Apr 20 2020 15:58:34 GMT+0200 (Central European Summer Time)

FAQs

Package last updated on 20 Apr 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc