radashi 12.2.0-beta.2c63f67 → 12.2.0-beta.313bfb4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Alec Larson
3
+ Copyright (c) 2024 Alec Larson
4
4
  Copyright (c) 2022 radash
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
package/README.md CHANGED
@@ -2,22 +2,95 @@
2
2
 
3
3
  <div align="center">
4
4
  <p align="center">
5
- <img src="https://github.com/radashi-org/radashi/raw/main/img/banner.png" alt="Radashi" width="100%" />
5
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/banner.png" alt="Radashi" width="100%" />
6
6
  </p>
7
+ <a href="https://github.com/radashi-org/radashi/blob/main/LICENSE.md"><img src="https://img.shields.io/npm/l/radashi" alt="License" /></a>
8
+ <a href="https://github.com/radashi-org/radashi/actions/workflows/publish-beta.yml"><img src="https://img.shields.io/github/actions/workflow/status/radashi-org/radashi/publish-beta.yml?logo=github" alt="Build Status" /></a>
9
+ <a href="https://app.codecov.io/gh/radashi-org/radashi/tree/main/src"><img src="https://img.shields.io/codecov/c/github/radashi-org/radashi?logo=codecov" alt="Codecov" /></a>
10
+ <a href="https://biomejs.dev/"><img src="https://img.shields.io/badge/code_style-biome.js-blue?logo=biome" alt="Code Style: Biome.js" /></a>
11
+ <a href="https://github.com/radashi-org/radashi/discussions"><img src="https://img.shields.io/github/discussions/radashi-org/radashi?logo=github" alt="GitHub Discussions" /></a>
7
12
  </div>
8
13
 
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.
14
+ &nbsp;
11
15
 
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.
16
+ **Ditch the bloat of Lodash. Stop reinventing the wheel.**
14
17
 
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.
18
+ Radashi (pronounced /ruh-DAH-shee/) is a TypeScript utility toolkit, packed with lightweight functions that are readable, performant, and robust.
17
19
 
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>
20
+ Radashi is an actively maintained fork of Radash, the fastest growing Lodash alternative with 100K+ weekly downloads.
21
+
22
+ _“What makes Radashi so great?”_
23
+
24
+ - **unique** and **well-designed** functions
25
+ - **tree-shakeable** (use only what you need!)
26
+ - **dependency-free**
27
+ - **community-first** (your opinions matter)
28
+ - **future-proof** (written with modern ES6+ syntax)
29
+ - **actively maintained** (with a growing team of passionate maintainers)
30
+ - **type-safe** (the best type definitions possible)
31
+ - **full test coverage**
32
+ - **performance tracking** (we track perf regressions with continuous benchmarking)
33
+ - **well-documented**
34
+ - **nightly releases** (`radashi@beta`)
35
+ - **changelog** (easily see what's new in each release)
36
+
37
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/rule.png" width="100%" />
38
+
39
+ ## Documentation
40
+
41
+ An official website is in the works (tracked by [#40](https://github.com/radashi-org/radashi/issues/40)). Until then, you can refer to the original `radash` documentation and the [CHANGELOG.md](https://github.com/radashi-org/radashi/blob/main/CHANGELOG.md) file.
42
+
43
+ <a href="https://radash-docs.vercel.app">
44
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/docs-button.png" alt="Radash documentation" width="250px" />
45
+ </a>
46
+
47
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/rule.png" width="100%" />
48
+
49
+ ## Install
50
+
51
+ ```sh
52
+ pnpm add radashi
53
+ ```
54
+
55
+ ```sh
56
+ yarn add radashi
57
+ ```
58
+
59
+ ```sh
60
+ npm install radashi
61
+ ```
62
+
63
+ ### Beta version
64
+
65
+ The `radashi@beta` version is a nightly release containing everything in the main branch at the time (5:00AM UTC).
66
+
67
+ ```sh
68
+ pnpm add radashi@beta
69
+ ```
70
+
71
+ Its changes are documented [here](https://github.com/radashi-org/radashi/blob/main/CHANGELOG.md#radashibeta). If there's no `radashi@beta` section in the changelog, it means no pull requests have been merged since the last stable release.
72
+
73
+ ### JSR.io
74
+
75
+ Radashi is also published to the [JSR registry](https://jsr.io/docs/why), which gives Radashi [its own page](https://jsr.io/@radashi-org/radashi).
76
+
77
+ ```sh
78
+ jsr add @radashi-org/radashi
79
+ ```
80
+
81
+ ```sh
82
+ deno add @radashi-org/radashi
83
+ ```
84
+
85
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/rule.png" width="100%" />
86
+
87
+ ## FAQ
88
+
89
+ - **“I need XYZ, but Radashi doesn‘t have it.”**
90
+ If you have a need not met by our current set of functions, we want to hear about it. [Start a discussion](https://github.com/orgs/radashi-org/discussions/new?category=ideas) so we can explore the idea together!
91
+
92
+ - **What does “community first” mean exactly?**
93
+ It means putting the community's needs first, leaning towards adding support for popular use cases, as opposed to being strictly minimalist. As such, your feedback is very welcome and we value your perspective. Specifically, we want you to [contribute your viewpoint](https://github.com/orgs/radashi-org/discussions/categories/rfcs?discussions_q=is%3Aopen+category%3ARFCs) to discussions in our RFCs category.
21
94
 
22
95
  - **Are my contributions welcome?**
23
96
  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).
@@ -25,14 +98,14 @@
25
98
  Please review _“The ethos of Radashi”_ before submitting a pull request:
26
99
 
27
100
  <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" />
101
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/ethos-button.png" alt="The ethos of Radashi" width="250px" />
29
102
  </a>
30
103
 
31
104
  - **Can I help you maintain this?**
32
105
  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
106
 
34
107
  <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" />
108
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/apply-button.png" alt="Apply to join the Radashi team" width="250px" />
36
109
  </a>
37
110
 
38
111
  - **Is backwards compatibility a goal?**
@@ -42,7 +115,7 @@
42
115
  To ensure contributions are quickly rolled out, we have the following automatic processes:
43
116
 
44
117
  - **Beta releases**
45
- Whenever the `main` branch receives a fix or feature, a beta release is automatically published to NPM.
118
+ Whenever the `main` branch receives a fix or feature, a beta release is automatically published to NPM at 5:00AM UTC.
46
119
  Installing `radashi@beta` will always fetch the latest beta release. Beta releases are always audited by the Radashi team.
47
120
 
48
121
  - **Preview releases**
@@ -51,52 +124,22 @@
51
124
  - ⚠️ **Beware:** Preview releases are not audited by the Radashi team. Always look at their
52
125
  changes in the PR to ensure no malicious code was introduced.
53
126
 
54
- &nbsp;
55
-
56
- <img src="https://github.com/radashi-org/radashi/raw/main/img/rule.png" width="100%" />
57
-
58
- ## Install
59
-
60
- ```sh
61
- pnpm add radashi
62
- ```
63
-
64
- ```sh
65
- yarn add radashi
66
- ```
67
-
68
- ```sh
69
- npm install radashi
70
- ```
71
-
72
- &nbsp;
73
-
74
- <img src="https://github.com/radashi-org/radashi/raw/main/img/rule.png" width="100%" />
127
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/rule.png" width="100%" />
75
128
 
76
129
  ## Contributing
77
130
 
78
131
  Contributions are welcome and appreciated! Check out the contributing guide before you dive in:
79
132
 
80
133
  <a href="https://github.com/radashi-org/radashi/blob/main/.github/contributing.md">
81
- <img src="https://github.com/radashi-org/radashi/raw/main/img/contributing-button.png" alt="Contributing to Radashi" width="250px" />
134
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/contributing-button.png" alt="Contributing to Radashi" width="250px" />
82
135
  </a>
83
136
 
84
- &nbsp;
85
-
86
- <img src="https://github.com/radashi-org/radashi/raw/main/img/rule.png" width="100%" />
87
-
88
- ## Changelog
89
-
90
- This section documents the changes between the original `radash` library and this fork.
91
-
92
- ### 12.1.0
93
-
94
- - Initial release. No differences.
137
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/rule.png" width="100%" />
95
138
 
96
139
  &nbsp;
97
140
 
98
141
  <div align="center">
99
142
  <p align="center">
100
- <img src="https://github.com/radashi-org/radashi/raw/main/img/footer.png" alt="Radashi" width="100%" />
143
+ <img src="https://github.com/radashi-org/radashi/raw/main/.github/img/footer.png" alt="Radashi" width="100%" />
101
144
  </p>
102
145
  </div>