Skip to content

Commit 2231a71

Browse files
committed
initial commit
0 parents  commit 2231a71

8 files changed

Lines changed: 1960 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish to NPM
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Source
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
registry-url: 'https://registry.npmjs.org'
20+
21+
- name: Install Dependencies
22+
run: npm install
23+
24+
- name: Build Library
25+
run: npm run build
26+
27+
- name: Publish to NPM
28+
run: npm publish
29+
env:
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
.DS_Store
4+
*.log
5+
.env*

LICENSE

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Public-Source Corporate Royalty License (PSCRL)
2+
3+
Copyright (c) 2026 Alif Nurhidayat (alifnurhidayatwork@gmail.com)
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 for non-commercial, personal, educational,
8+
research, and open-source public use, subject to the following conditions:
9+
10+
1. NON-COMMERCIAL & PUBLIC USE
11+
The Software is completely free to use, modify, and distribute for individuals,
12+
educational institutions, personal research, testing, and non-commercial open-source
13+
projects.
14+
15+
2. CORPORATE & COMMERCIAL BUSINESS USE
16+
Any use of the Software by for-profit companies, corporations, commercial applications,
17+
SaaS (Software as a Service) platforms, or for any revenue-generating activity
18+
requires a commercial licensing agreement.
19+
20+
By using this Software for commercial or corporate purposes, you agree to:
21+
a. Pay a royalty fee of 1% (one percent) of the gross monthly revenue generated by
22+
any product, service, or platform that incorporates or uses this Software.
23+
b. Startups or businesses with gross annual revenues of less than $10,000 USD (or equivalent)
24+
are exempt from royalties until they exceed this threshold.
25+
c. Provide quarterly reporting of gross revenues generated to the copyright holder.
26+
27+
3. CONTACT & CUSTOM LICENSING
28+
For royalty payments, reporting, custom enterprise flat-rate licenses, or general inquiries,
29+
contact the copyright holder directly at:
30+
alifnurhidayatwork@gmail.com
31+
32+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
35+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
36+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
37+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
38+
SOFTWARE.

0 commit comments

Comments
 (0)