Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

add-tinykeys-post-command-hook-plugin

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
Package was removed
Sorry, it seems this package was removed from the registry

add-tinykeys-post-command-hook-plugin

Add tinykeys plugin for post-command-hook

unpublished
latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

add-tinykeys-post-command-hook-plugin NPM version

Add tinykeys plugin for post-command-hook

Installation

$ npm install add-tinykeys-post-command-hook-plugin

or

$ yarn add add-tinykeys-post-command-hook-plugin

Usage

const PostCommandHook = require("post-command-hook");
const addTinykeys = require("add-tinykeys-post-command-hook-plugin");

const postCommandHook = new PostCommandHook({ command: "npx", args: ["create-react-app", "myapp"] });

postCommandHook.use(addTinykeys("myapp"));

(async () => {
  await postCommandHook.run();
})();

API

addTinykeysPostCommandHookPlugin(cwd?)

Creates a function to be passed to post-command-hook's .use() as a plugin function.

cwd

Type: string Default: process.cwd()

The current working directory where tinykeys should be installed to.

License

MIT © Rushan Alyautdinov

Keywords

command

FAQs

Package last updated on 18 Nov 2021

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