radashi 12.1.0-pr11.e33bd36

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.md ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Alec Larson
4
+ Copyright (c) 2022 radash
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,96 @@
1
+ # Radashi
2
+
3
+ <div align="center">
4
+ <p align="center">
5
+ <img src="https://github.com/radashi-org/radashi/raw/main/img/banner.png" alt="Radashi" width="100%" />
6
+ </p>
7
+ </div>
8
+
9
+ - **What is this?**
10
+ Radashi, pronounced /raw-dash-ee/, is a modern, zero-dependency JavaScript utility toolkit built with TypeScript for type-safe, readable, and maintainable code. Radashi omits functions that have become obsolete in Lodash and introduces innovative tools for improved error handling, asynchronous operations, and data manipulation. With a focus on readability and maintainability, Radashi ensures that its source code is easy to understand and use, making it simple for developers to copy individual functions directly from GitHub if needed. Radashi is the go-to toolkit for cleaner, more efficient code in today's JavaScript ecosystem.
11
+
12
+ - **Is this related to Radash?**
13
+ Yes! This is a fork of the renowned [`radash`](https://github.com/sodiray/radash) library by Ray Epps [@sodiray](https://github.com/sodiray). This fork aims to be a more consistently maintained version of the library, with bug fixes and improvements.
14
+
15
+ - **Is there official documentation?**
16
+ Currently, there is no documentation beyond this page. I will get to it eventually, but for now, you can refer to the original `radash` documentation.
17
+
18
+ <a href="https://radash-docs.vercel.app">
19
+ <img src="https://github.com/radashi-org/radashi/raw/main/img/docs-button.png" alt="Radash documentation" width="250px" />
20
+ </a>
21
+
22
+ - **Are my contributions welcome?**
23
+ Yes! Pull requests are encouraged, but please keep them small and focused. Sweeping changes are discouraged and won't be merged (unless the rationale's been thoroughly discussed).
24
+
25
+ Please review _“The ethos of Radashi”_ before submitting a pull request:
26
+
27
+ <a href="https://github.com/orgs/radashi-org/discussions/20">
28
+ <img src="https://github.com/radashi-org/radashi/raw/main/img/ethos-button.png" alt="The ethos of Radashi" width="250px" />
29
+ </a>
30
+
31
+ - **Can I help you maintain this?**
32
+ Yes! I'll add you as a contributor to the repository. You can review pull requests and even merge them. You can help with closing issues, too. Committing directly to the main branch is a privilege you can earn, as is publishing versions to NPM.
33
+
34
+ <a href="https://github.com/orgs/radashi-org/discussions/4">
35
+ <img src="https://github.com/radashi-org/radashi/raw/main/img/apply-button.png" alt="Apply to join the Radashi team" width="250px" />
36
+ </a>
37
+
38
+ - **Is backwards compatibility a goal?**
39
+ Yes! We want the transition from `radash` to this library to be smooth. We'll make sure to avoid breaking changes. If any are made, they will be clearly documented at the bottom of this page.
40
+
41
+ - **Automatic releases**
42
+ To ensure contributions are quickly rolled out, we have the following automatic processes:
43
+
44
+ - **Beta releases**
45
+ Whenever the `main` branch receives a fix or feature, a beta release is automatically published to NPM.
46
+ Installing `radashi@beta` will always fetch the latest beta release. Beta releases are always audited by the Radashi team.
47
+
48
+ - **Preview releases**
49
+ When the _owner of a PR_ comments `/publish` (and nothing more), the PR is published to NPM under a version like `1.0.0-pr123.f7a9c3b` (i.e. `<latest version>-pr<PR number>.<commit SHA>`) and a tag like `pr123`. This allows the community to use the changes in the PR without waiting for the PR to be merged.
50
+
51
+ - ⚠️ **Beware:** Preview releases are not audited by the Radashi team. Always look at their
52
+ changes in the PR to ensure no malicious code was introduced.
53
+
54
+ &nbsp;
55
+
56
+ ## Install
57
+
58
+ ```sh
59
+ pnpm add radashi
60
+ ```
61
+
62
+ ```sh
63
+ yarn add radashi
64
+ ```
65
+
66
+ ```sh
67
+ npm install radashi
68
+ ```
69
+
70
+ &nbsp;
71
+
72
+ ## Contributing
73
+
74
+ Contributions are welcome and appreciated! Check out the contributing guide before you dive in:
75
+
76
+ <a href="https://github.com/radashi-org/radashi/blob/main/.github/contributing.md">
77
+ <img src="https://github.com/radashi-org/radashi/raw/main/img/contributing-button.png" alt="Contributing to Radashi" width="250px" />
78
+ </a>
79
+
80
+ &nbsp;
81
+
82
+ ## Changelog
83
+
84
+ This section documents the changes between the original `radash` library and this fork.
85
+
86
+ ### 12.1.0
87
+
88
+ - Initial release. No differences.
89
+
90
+ &nbsp;
91
+
92
+ <div align="center">
93
+ <p align="center">
94
+ <img src="https://github.com/radashi-org/radashi/raw/main/img/footer.png" alt="Radashi" width="100%" />
95
+ </p>
96
+ </div>