This Npm package can be used to develop Tampermonkey scripts. Set up a scaffolding environment.
- Quickly generate Tampermonkey script MetaData using CLI questionnaires
- Metadata is automatically inserted into the script when packaged without manual editing
- Use tsup, millisecond level packaging
- Npm packages can be imported and packaged in a unified manner
npm install tmkey
` ` `
# How to use
1. Install the package in your empty project (without any files or folders other than.git)
```bash
npm install tmkey
` ` `
2. Initialize the project
```bash
tmkey init
` ` `
Then fill in the CLI questionnaire
3. Write code
Write the code in the 'src/index.js' file. ** Supports the introduction of npm packages **.
Step 4 Pack
```bash
tmkey build
` ` `
The packed files are in the 'dist' folder.