You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add npm package installation as the primary method
- Include npm package link and information
- Reorganize quick start section with two methods
- Update both Chinese and English README files
- Provide complete installation instructions for npm package
Copy file name to clipboardExpand all lines: README_en.md
+37-1Lines changed: 37 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
7
7
A plan for using `Node.js` + `Webpack` for modular development of Tampermonkey scripts, aimed at improving the development experience of Tampermonkey, reducing the mental burden during development, and allowing Tampermonkey scripts to be developed like a regular modular front-end project. Otherwise, a `JavaScript` file with thousands of lines to be modified back and forth is really too much to handle...
- Modular development of Tampermonkey projects can greatly enhance both the development experience and efficiency. You no longer have to worry about how to organize code within a single `JavaScript` file (Tampermonkey scripts uploaded to the Tampermonkey store must be single files without obfuscation or compression, and the JS files produced by modular development and packaging also meet the requirements for uploading).
@@ -14,9 +16,43 @@ A plan for using `Node.js` + `Webpack` for modular development of Tampermonkey s
14
16
15
17
# 3. Quick Start
16
18
19
+
## Method 1: Using npm Package (Recommended)
20
+
21
+
Use our published npm package to create a new project directly:
0 commit comments