GitShow/antfu/utils
antfu

utils

Collection of common JavaScript / TypeScript utils

by antfu
Star on GitHubForknpm

TypeScript

875 stars68 forks21 contributorsQuiet · 8mo agoSince 2021v9.3.0MIT

Meet the team

See all 21 on GitHub →
antfu
antfu120 contributions
johannschopplich
johannschopplich4 contributions
NamesMT
NamesMT3 contributions
Wing-9527
Wing-95272 contributions
LuciNyan
LuciNyan1 contribution
s3xysteak
s3xysteak1 contribution
liuyang0826
liuyang08261 contribution
jbaubree
jbaubree1 contribution

Languages

View on GitHub →
TypeScript99.5%
JavaScript0.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Quiet · 5 discussions · Last activity 8mo ago
See all on GitHub →
NamesMT
`deepMerge` types is brokenOpenIssue

Describe the bug Output types of is broken, observed with plain simple primitive and typed variable. Reproduction https://github.com/NamesMT/starter-ts/tree/antfu/utils_repro System Info Used Package Manager pnpm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

NamesMT · 7mo ago
LiuXxQAQ
The range function received a positive start and stop with a negative step produced an infinite loopOpenIssue

Describe the bug Passing a positive start and stopping with a negative step into will produce an infinite loop. expect behavior: Reproduction Please refer to the unit test below. System Info Used Package Manager npm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [x] I am willing to submit a PR to fix this issue [x] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

LiuXxQAQ · 1y ago

Recent fixes

View closed PRs →
NamesMT
[request] `slugify()` utilClosedIssue

Clear and concise description of the problem Would be amazing if the package includes a util to convert a string to an URL-slug, it's pretty commonly used when building ECOM / content-centric web applications. Suggested solution Probably something like: I've been using the above snippet for a few projects, haven't hit any weird cases yet. Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

NamesMT · 7mo ago
NamesMT
feat(string): new `slugify` functionMergedPR

Linked Issues Resolves #52

NamesMT · 7mo ago
s3xysteak
Return type of `objectKeys` cannot be using as keys of generic object type.ClosedIssue

Describe the bug Return type of cannot be using as keys of generic object type. There is a PR related to this #17. Reproduction typescript playground System Info Used Package Manager pnpm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [x] I am willing to submit a PR to fix this issue [x] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

s3xysteak · 8mo ago
Structured data for AI agents

Repository: antfu/utils. Description: Collection of common JavaScript / TypeScript utils Stars: 875, Forks: 68. Primary language: TypeScript. Languages: TypeScript (99.5%), JavaScript (0.5%). License: MIT. Latest release: v9.3.0 (8mo ago). Open PRs: 0, open issues: 5. Last activity: 8mo ago. Community health: 85%. Top contributors: antfu, johannschopplich, NamesMT, Wing-9527, LuciNyan, s3xysteak, liuyang0826, jbaubree, akinoccc, xiaoxiangmoe and others.

·@ofershap

Replace github.com with gitshow.dev