afterpack 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +11 -0
- package/dist/cli.js.map +1 -0
- package/package.json +39 -0
- package/readme.md +27 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AfterPack
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/cli.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
//#region src/cli.ts
|
|
3
|
+
const VERSION = "0.0.1";
|
|
4
|
+
console.log(`AfterPack v${VERSION}`);
|
|
5
|
+
console.log("Hello from AfterPack!");
|
|
6
|
+
console.log("");
|
|
7
|
+
console.log("Coming soon: blazingly fast JavaScript obfuscation.");
|
|
8
|
+
console.log("Learn more at https://www.afterpack.dev");
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","names":[],"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\nconst VERSION = \"0.0.1\";\n\nconsole.log(`AfterPack v${VERSION}`);\nconsole.log(\"Hello from AfterPack!\");\nconsole.log(\"\");\nconsole.log(\"Coming soon: blazingly fast JavaScript obfuscation.\");\nconsole.log(\"Learn more at https://www.afterpack.dev\");\n"],"mappings":";;AAEA,MAAM,UAAU;AAEhB,QAAQ,KAAK,aAAa,QAAQ,EAAE;AACpC,QAAQ,IAAI,wBAAwB;AACpC,QAAQ,IAAI,GAAG;AACf,QAAQ,IAAI,sDAAsD;AAClE,QAAQ,IAAI,0CAA0C"}
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "afterpack",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "A high-performance post-build JavaScript obfuscator and minifier",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/cli.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"afterpack": "./dist/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsdown src/cli.ts --format esm --dts",
|
|
15
|
+
"dev": "tsdown src/cli.ts --format esm --watch",
|
|
16
|
+
"prepublishOnly": "npm run build"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"obfuscator",
|
|
20
|
+
"minifier",
|
|
21
|
+
"javascript",
|
|
22
|
+
"protection",
|
|
23
|
+
"security"
|
|
24
|
+
],
|
|
25
|
+
"author": "AfterPack",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/afterpack-dev/afterpack.git"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://afterpack.dev",
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=18"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"tsdown": "^0.11.0",
|
|
37
|
+
"typescript": "^5.0.0"
|
|
38
|
+
}
|
|
39
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# [AfterPack](https://www.afterpack.dev)
|
|
2
|
+
|
|
3
|
+
A high-performance post-build JavaScript obfuscator and minifier — the final step before your code ships.
|
|
4
|
+
|
|
5
|
+
[www.afterpack.dev](https://www.afterpack.dev)
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx afterpack
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
Coming Soon:
|
|
16
|
+
|
|
17
|
+
- 20-70x faster than any other javascript obfuscator (Rust-powered)
|
|
18
|
+
- Superior minification (smaller output than in other tools)
|
|
19
|
+
- Fast runtime speed (minimal runtime performance overhead)
|
|
20
|
+
- Native integration with Vite, Next.js, Turbopack, Astro
|
|
21
|
+
- Source map generation and consumption
|
|
22
|
+
- Deterministic builds for CI caching
|
|
23
|
+
- And many more
|
|
24
|
+
|
|
25
|
+
## License
|
|
26
|
+
|
|
27
|
+
[MIT](./LICENSE) (c) AfterPack
|