semajsx 0.0.1-alpha

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 semajsx
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,57 @@
1
+ # semajsx
2
+
3
+ This is a placeholder project for the semajsx namespace on npm.
4
+
5
+ The repository is maintained at [github.com/semajsx/core](https://github.com/semajsx/core).
6
+
7
+ ## About
8
+
9
+ This package is currently a placeholder to reserve the npm package name. Future updates may include actual functionality.
10
+
11
+ ## Current Functionality
12
+
13
+ The package currently provides minimal utility functions:
14
+
15
+ ```typescript
16
+ import { greet, get, delay } from 'semajsx';
17
+
18
+ // Simple greeting
19
+ const greeting = greet('World'); // "Hello, World!"
20
+
21
+ // Safe property access
22
+ const user = { name: 'John', profile: { age: 30 } };
23
+ const age = get(user.profile, 'age'); // 30
24
+
25
+ // Delay execution
26
+ await delay(1000); // waits for 1 second
27
+ ```
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ # Using npm
33
+ npm install semajsx
34
+
35
+ # Using yarn
36
+ yarn add semajsx
37
+
38
+ # Using bun
39
+ bun add semajsx
40
+ ```
41
+
42
+ ## Development
43
+
44
+ ```bash
45
+ # Install dependencies
46
+ bun install
47
+
48
+ # Run tests
49
+ bun test
50
+
51
+ # Build the package
52
+ bun run build
53
+ ```
54
+
55
+ ## License
56
+
57
+ MIT
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ // index.ts
2
+ console.log("Hello, world!");
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "semajsx",
3
+ "version": "0.0.1-alpha",
4
+ "description": "A placeholder project for the semajsx namespace on npm",
5
+ "module": "index.ts",
6
+ "main": "index.ts",
7
+ "types": "dist/index.d.ts",
8
+ "type": "module",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "build": "bun build index.ts --outdir dist",
14
+ "prepublishOnly": "bun run build",
15
+ "test": "bun test"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/semajsx/core.git"
20
+ },
21
+ "keywords": [
22
+ "javascript",
23
+ "typescript",
24
+ "utilities"
25
+ ],
26
+ "author": "",
27
+ "license": "MIT",
28
+ "bugs": {
29
+ "url": "https://github.com/semajsx/core/issues"
30
+ },
31
+ "homepage": "https://github.com/semajsx/core#readme",
32
+ "devDependencies": {
33
+ "@types/bun": "latest",
34
+ "typescript": "^5"
35
+ }
36
+ }