Skip to content

Commit 0b81f8f

Browse files
initial commit
0 parents  commit 0b81f8f

File tree

12 files changed

+10499
-0
lines changed

12 files changed

+10499
-0
lines changed

.gitignore

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional stylelint cache
58+
.stylelintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
65+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variable files
76+
.env
77+
.env.development.local
78+
.env.test.local
79+
.env.production.local
80+
.env.local
81+
82+
# parcel-bundler cache (https://parceljs.org/)
83+
.cache
84+
.parcel-cache
85+
86+
# Next.js build output
87+
.next
88+
out
89+
90+
# Nuxt.js build / generate output
91+
.nuxt
92+
dist
93+
94+
# Gatsby files
95+
.cache/
96+
# Comment in the public line in if your project uses Gatsby and not Next.js
97+
# https://nextjs.org/blog/next-9-1#public-directory-support
98+
# public
99+
100+
# vuepress build output
101+
.vuepress/dist
102+
103+
# vuepress v2.x temp and cache directory
104+
.temp
105+
.cache
106+
107+
# Docusaurus cache and generated files
108+
.docusaurus
109+
110+
# Serverless directories
111+
.serverless/
112+
113+
# FuseBox cache
114+
.fusebox/
115+
116+
# DynamoDB Local files
117+
.dynamodb/
118+
119+
# TernJS port file
120+
.tern-port
121+
122+
# Stores VSCode versions used for testing VSCode extensions
123+
.vscode-test
124+
125+
# yarn v2
126+
.yarn/cache
127+
.yarn/unplugged
128+
.yarn/build-state.yml
129+
.yarn/install-state.gz
130+
.pnp.*
131+
132+
# Extra
133+
tsconfig.json
134+
tsup.config.ts

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
TPL-PARSER LICENSE
2+
3+
PERSONAL USE LICENSE
4+
5+
This software is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License.
6+
You are free to use, modify, and distribute this software for personal, non-commercial projects,
7+
as long as you provide attribution to the original author, Dev Jones.
8+
9+
For more details, visit: https://creativecommons.org/licenses/by-nc/4.0/
10+
11+
COMMERCIAL USE LICENSE
12+
13+
If you wish to use this software in a commercial project, you must obtain a commercial license.
14+
Please contact Dev Jones at [email protected] to discuss licensing terms and fees.
15+
16+
By using this software in a commercial project without obtaining a commercial license,
17+
you are in violation of the terms and may be subject to legal action.
18+
19+
ATTRIBUTION
20+
21+
When using this software for personal projects, you must include the following attribution in any copies or substantial portions of the software:
22+
23+
"TPL-Parser © 2024 Dev Jones. Licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. For commercial use, contact [email protected]."
24+
25+
DISCLAIMER
26+
27+
This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

README.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# TPLParserJS
2+
3+
<p align="center">
4+
<img src="https://raw.githubusercontent.com/DavyJonesCodes/TPLParserPy/ff1be2e10922593ffe2949b8927ff6696000ecde/assets/logo.png" alt="Logo" height="128px">
5+
</p>
6+
7+
<p align="center">
8+
<img src="https://img.shields.io/badge/javascript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E" />
9+
<img src="https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white" />
10+
<img src="https://img.shields.io/badge/adobe%20photoshop-%2331A8FF.svg?style=for-the-badge&logo=adobe%20photoshop&logoColor=white"/>
11+
</p>
12+
13+
# 🎨 TPLParserJS
14+
15+
Welcome to **TPLParserJS**! 🛠️ This JavaScript/TypeScript package is designed to help you parse Photoshop TPL (Tool Preset) files and extract the data into a friendly JSON format. Perfect for anyone who wants to dive deep into TPL files and understand their inner workings! 💡
16+
17+
## ✨ Features
18+
19+
- 🔍 **Parse Photoshop TPL files** with ease.
20+
- 🗂️ **Extract tool names, types, and properties** into JSON format.
21+
- 💾 **Save the extracted data** for further use or analysis.
22+
23+
## 🚀 Installation
24+
25+
You can easily install TPLParserJS via npm:
26+
27+
```bash
28+
npm install tpl-parser
29+
```
30+
31+
## 🛠️ Usage
32+
33+
### Importing and Using the Library
34+
35+
Here's a quick example of how to use TPLParserJS in your JavaScript/TypeScript project:
36+
37+
```typescript
38+
import { TPLReader } from "tpl-parser";
39+
40+
const filePath = "path/to/yourfile.tpl";
41+
const reader = new TPLReader(filePath);
42+
const tplData = reader.readTpl();
43+
reader.saveToJson("output.json");
44+
```
45+
46+
### Command-Line Interface
47+
48+
TPLParserJS also includes a handy command-line interface for quick parsing:
49+
50+
```bash
51+
tpl-parser path/to/yourfile.tpl -o output.json
52+
```
53+
54+
## 🤝 Contributions
55+
56+
Contributions are welcome! 🎉 If you'd like to contribute to TPLParserJS, feel free to fork the repository and submit a pull request. If you have any questions or need guidance, don't hesitate to contact me at [[email protected]](mailto:[email protected]).
57+
58+
## 📄 License
59+
60+
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. For more details, see the [LICENSE](./LICENSE) file. For commercial use, please contact [Dev Jones](mailto:[email protected]).
61+
62+
## 📬 Contact
63+
64+
If you have any questions, suggestions, or just want to say hi, feel free to reach out via email: [[email protected]](mailto:[email protected]). We'd love to hear from you! 😊

assets/logo.png

6.81 KB
Loading

0 commit comments

Comments
 (0)