raptorclaw 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/README.md +86 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +43 -0
- package/package.json +58 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 senapati484
|
|
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,86 @@
|
|
|
1
|
+
# raptorclaw
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
**A fast, modern JavaScript utility library**
|
|
11
|
+
|
|
12
|
+
[Installation](#installation) • [Usage](#usage) • [API](#api) • [License](#license)
|
|
13
|
+
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
> ✨ **raptorclaw** is a modern utility library designed to bring good vibes to your JavaScript projects. Currently in active development with more features coming soon!
|
|
19
|
+
|
|
20
|
+
## 🚀 Installation
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install raptorclaw
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
yarn add raptorclaw
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pnpm add raptorclaw
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## 💡 Usage
|
|
35
|
+
|
|
36
|
+
```js
|
|
37
|
+
import { hello, getVersion } from "raptorclaw";
|
|
38
|
+
|
|
39
|
+
console.log(hello()); // "raptorclaw is coming soon 🚀"
|
|
40
|
+
console.log(getVersion()); // "0.0.1"
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## 📚 API
|
|
44
|
+
|
|
45
|
+
### `hello()`
|
|
46
|
+
Returns a friendly greeting message.
|
|
47
|
+
|
|
48
|
+
```js
|
|
49
|
+
hello() // string
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### `getVersion()`
|
|
53
|
+
Returns the current version of raptorclaw.
|
|
54
|
+
|
|
55
|
+
```js
|
|
56
|
+
getVersion() // string
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## 🔧 Development
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Install dependencies
|
|
63
|
+
npm install
|
|
64
|
+
|
|
65
|
+
# Build the package
|
|
66
|
+
npm run build
|
|
67
|
+
|
|
68
|
+
# Run tests (when available)
|
|
69
|
+
npm test
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## 🤝 Contributing
|
|
73
|
+
|
|
74
|
+
Contributions are welcome! Please feel free to submit a Pull Request.
|
|
75
|
+
|
|
76
|
+
## 📄 License
|
|
77
|
+
|
|
78
|
+
MIT © [senapati484](https://github.com/senapati484)
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
<div align="center">
|
|
83
|
+
|
|
84
|
+
Made with ❤️ by [senapati484](https://github.com/senapati484)
|
|
85
|
+
|
|
86
|
+
</div>
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* raptorclaw - v0.0.1
|
|
3
|
+
* A fast, modern JavaScript utility library designed to bring good vibes to your projects.
|
|
4
|
+
*
|
|
5
|
+
* This is a placeholder release to reserve the raptorclaw name.
|
|
6
|
+
* Full implementation coming soon.
|
|
7
|
+
*/
|
|
8
|
+
export declare const VERSION = "0.0.1";
|
|
9
|
+
/**
|
|
10
|
+
* Returns a friendly greeting message.
|
|
11
|
+
* @returns A string with a greeting
|
|
12
|
+
*/
|
|
13
|
+
export declare function hello(): string;
|
|
14
|
+
/**
|
|
15
|
+
* Returns the current version of raptorclaw.
|
|
16
|
+
* @returns The version string
|
|
17
|
+
*/
|
|
18
|
+
export declare function getVersion(): string;
|
|
19
|
+
/**
|
|
20
|
+
* Checks if the vibe is good.
|
|
21
|
+
* @returns Always returns true for good vibes
|
|
22
|
+
*/
|
|
23
|
+
export declare function isVibeGood(): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Returns a random encouraging message.
|
|
26
|
+
* @returns A random encouraging string
|
|
27
|
+
*/
|
|
28
|
+
export declare function getEncouragement(): string;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* raptorclaw - v0.0.1
|
|
3
|
+
* A fast, modern JavaScript utility library designed to bring good vibes to your projects.
|
|
4
|
+
*
|
|
5
|
+
* This is a placeholder release to reserve the raptorclaw name.
|
|
6
|
+
* Full implementation coming soon.
|
|
7
|
+
*/
|
|
8
|
+
export const VERSION = "0.0.1";
|
|
9
|
+
/**
|
|
10
|
+
* Returns a friendly greeting message.
|
|
11
|
+
* @returns A string with a greeting
|
|
12
|
+
*/
|
|
13
|
+
export function hello() {
|
|
14
|
+
return "raptorclaw is coming soon 🚀";
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Returns the current version of raptorclaw.
|
|
18
|
+
* @returns The version string
|
|
19
|
+
*/
|
|
20
|
+
export function getVersion() {
|
|
21
|
+
return VERSION;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Checks if the vibe is good.
|
|
25
|
+
* @returns Always returns true for good vibes
|
|
26
|
+
*/
|
|
27
|
+
export function isVibeGood() {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns a random encouraging message.
|
|
32
|
+
* @returns A random encouraging string
|
|
33
|
+
*/
|
|
34
|
+
export function getEncouragement() {
|
|
35
|
+
const messages = [
|
|
36
|
+
"You're doing great! 🌟",
|
|
37
|
+
"Keep pushing forward! 💪",
|
|
38
|
+
"Amazing work! 🎉",
|
|
39
|
+
"You've got this! 🔥",
|
|
40
|
+
"Stay awesome! ✨"
|
|
41
|
+
];
|
|
42
|
+
return messages[Math.floor(Math.random() * messages.length)];
|
|
43
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "raptorclaw",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "A fast, modern JavaScript utility library designed to bring good vibes to your projects.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"prepublishOnly": "npm run build",
|
|
23
|
+
"prepack": "npm run build"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"utility",
|
|
27
|
+
"javascript",
|
|
28
|
+
"typescript",
|
|
29
|
+
"modern",
|
|
30
|
+
"lightweight",
|
|
31
|
+
"developer-tools",
|
|
32
|
+
"raptorclaw"
|
|
33
|
+
],
|
|
34
|
+
"author": {
|
|
35
|
+
"name": "senapati484",
|
|
36
|
+
"email": "sayansenapati2544@gmail.com",
|
|
37
|
+
"url": "https://github.com/senapati484"
|
|
38
|
+
},
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"typescript": "^5.0.0"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=16.0.0"
|
|
45
|
+
},
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "git+https://github.com/senapati484/raptorclaw.git"
|
|
49
|
+
},
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/senapati484/raptorclaw/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/senapati484/raptorclaw#readme",
|
|
54
|
+
"funding": {
|
|
55
|
+
"type": "github",
|
|
56
|
+
"url": "https://github.com/sponsors/senapati484"
|
|
57
|
+
}
|
|
58
|
+
}
|