New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@flatxph/timestamp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flatxph/timestamp

This is just a sample project to study npm publishing of angular builder projects. This is forked from the original by @angular-builders/timestamp and any changes to this code will not reflect the orignal one.

7.2.1
latest
npmnpm
Version
7.2.1
Version published
Maintainers
1
Created
Source

DO NOT USE THIS PACKAGE

This is just a sample project to study npm publishing of angular builder projects. This is forked from the original by @angular-builders/timestamp and any changes to this code will not reflect the orignal one.

Timestamp builder for Angular build facade

npm version npm

This builder is an example from the Medium article Angular CLI 6 under the hood — builders demystified.

Usage

  • In the root of your Angular application:

    npm i -D @angular-builders/timestamp
    
  • In your angular.json add the following to architect section of the relevant project:

    "timestamp": {
      "builder": "@angular-builders/timestamp:file",
      "options": {}
    },
    
  • Run: ng run [relevant-project]:timestamp Where [relevant-project] is the project to which you've added the target

Options

  • path - path to the file with timestamp, defaults to ./timestamp
  • format - timestamp date format, defaults to dd/mm/yyyy

FAQs

Package last updated on 14 Jan 2019

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