tapable

(★ 3,862)

Just a little module for plugins.

File Explorer

  • .babelrc.js
  • .editorconfig
  • .gitattributes
  • .gitignore
  • .prettierignore
  • .prettierrc.js
  • CHANGELOG.md
  • eslint.config.mjs
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • tapable.d.ts
  • tsconfig.json

# Installation Guide

node
Prerequisites

Setup Steps

npm install

Install project dependencies.

npm test

Run the tests.

Key Commands

npm install

Install all dependency packages specified in package.json.

npm test

Run configured test cases to verify the code works correctly.

Tapable is a core package used for the plugin system inside webpack.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

interface

View Details ▼

Manage interfaces.
Accessed in configuration mode.

interface vlan {{1}}

Configure a VLAN:

{{no shutdown|shutdown}}

Set an interface to be active or inactive (this is run inside the interface command):

🔍

accelerate

View Details ▼

A library that enables the same PyTorch code to be run across any distributed configuration.

accelerate env

Print environment information:

accelerate config

Interactively create a configuration file:

accelerate estimate-memory {{name/model}}

Print the estimated GPU memory cost of running a Hugging Face model with different data types:

🔍

done

View Details ▼

This shell keyword is used with `for`, `while`, `select`, and `until` to mark the end of a loop.

tldr for

View documentation for the `for` keyword:

tldr while

View documentation for the `while` keyword:

tldr select

View documentation for the `select` keyword:

🔍

hello

View Details ▼

Print "Hello, world!", "hello, world", or a customizable text.

hello

Print "Hello, world!":

hello {{[-t|--traditional]}}

Print "hello, world", the traditional type:

hello {{[-g|--greeting]}} "{{greeting_text}}"

Print a text message:

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

intercept

View Details ▼

Read raw input events from a specified input event device and redirect it to `stdout`.

sudo intercept -g {{/dev/input/eventX}}

Read and output raw input events from a given input device file (the system will not see any key presses):

sudo intercept {{/dev/input/eventX}}

Read and output raw input events from a given input device file (the system can see key presses and does not block other programs from reading them):

// repository documentation