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

@wesym/pld-generator

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

@wesym/pld-generator

Wesym PLD generator

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Wesym PLD generator

Requirements

You'll need:

  • A configuration file
  • The PLD template file
  • An output directory

Example

const path      = require('path')
const generator = require('@wesym/pld-generator')
const config    = require('./config/pld.json') // This is the configuration file

generator.config({
  spreadsheetId : config.SHEET_ID,
  meta          : config.PLD_META,
  templatePath  : path.join(__dirname, 'template', 'wesym_pld.odt') // The template file
})
generator.generate()
  .then(() => generator.write(path.join(__dirname, 'plds'))) // And the output directory

Configuring

The configuration file you must have should be like this

{
  "SHEET_ID": "1CrIrRcTcH1wBvcDty5ABNyEkMu9iCt82f3IpwTsO2CY",
  "PLD_META": {
    "title": "Project Log Document",
    "object": "Document PLD",
    "author": "Wesym",
    "responsible": "Vincent BERTIN",
    "email": "wesym_2021@labeip.epitech.eu",
    "keywords": "Fonctionnalités, déploiement, outils",
    "promotion": "2021",
    "majDate": "11 décembre 2019",
    "version": "1.1",
    "revisions": [
      {
        "date": "13/11/2019",
        "version": "1.0",
        "author": "Vincent BERTIN",
        "sections": "-",
        "note": "Première version du PLD"
      }
    ]
  }
}

This is an example, change the value as you need.

DON'T FORGET TO CHANGE THE SHEET_ID IN ORDER TO USE THE RIGHT GOOGLE SHEET.

FAQs

Package last updated on 28 Jul 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