🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

pw-tpl

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pw-tpl

Fast pw template setup

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
0
Created
Source

pw-tpl

A set of utilities for the static pug template.

Installation

# npm
$ npm i pw-tpl -g

#yarn
$ yarn global add pw-tpl

Features

Quick template setup

Loads the newest template image into the current working directory.
First of all you need to set global variable GITLAB_API_TOKEN with your GitLab private token.

How to set global variable

MacOs
Windows

Then run:

$ pw-tpl init

And enter the name of new project.

Module template

Adding new module template into src/modules directory.

$ pw-tpl add:module [options] <name>

Options

-js Includes js module file.
-vue Includes Vue file instead of pug template.
-tests Includes js test file.

FAQs

Package last updated on 04 Sep 2024

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