twisterjs 0.1.0
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/README.md +36 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/package.json +43 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 eguneys
|
|
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/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
![NPM Version]()
|
|
4
|
+
|
|
5
|
+
[Website](https://eguneys.github.io/twisterjs)
|
|
6
|
+
|
|
7
|
+
Tiny Modules for Indie Game Development in Typescript.
|
|
8
|
+
|
|
9
|
+
## API is
|
|
10
|
+
- Tree-Shakeable Highly Modular Slim
|
|
11
|
+
- Tailored for Indie-Game-Developer Experience
|
|
12
|
+
- Designed with the effort of "Vibe Coding Principles", cross checked with ChatGPT, Gemini, and DeepSeek, and other AI tools.
|
|
13
|
+
|
|
14
|
+
## A Quick Look
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import { TwisterJS } from 'twisterjs'
|
|
19
|
+
|
|
20
|
+
console.log(`Hello ${TwisterJS}`)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
- Springs
|
|
26
|
+
- Delaying Actions
|
|
27
|
+
- Steering Behaviors
|
|
28
|
+
- Vector Math
|
|
29
|
+
- Rectangle and Line Math
|
|
30
|
+
- Polygon Math
|
|
31
|
+
- Simple Shapes with super efficient - WebGL Batched Rendering
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Please Buy me a Coffee
|
|
35
|
+
|
|
36
|
+
[Buy Me a Coffee](https://buymeacoffee.com/eguneys)
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS,cAAc,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "twisterjs",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Tiny Modules for Indie Game Development in Typescript",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"twisterjs",
|
|
7
|
+
"indie",
|
|
8
|
+
"game-development",
|
|
9
|
+
"springs",
|
|
10
|
+
"shapes",
|
|
11
|
+
"delay",
|
|
12
|
+
"spatial",
|
|
13
|
+
"2dmath",
|
|
14
|
+
"webgl",
|
|
15
|
+
"update",
|
|
16
|
+
"loop"
|
|
17
|
+
],
|
|
18
|
+
"repository": "github:eguneys/twisterjs",
|
|
19
|
+
"author": "Emre Güneyler",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"main": "dist/index.js",
|
|
22
|
+
"types": "dist/index.d.ts",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"README.md",
|
|
27
|
+
"LICENSE"
|
|
28
|
+
],
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"import": "./dist/index.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"typescript": "^5.9.3",
|
|
37
|
+
"vitest": "^4.0.16"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"test": "vitest",
|
|
41
|
+
"build": "tsc"
|
|
42
|
+
}
|
|
43
|
+
}
|