Comments (6)
I think I can have a look at implementing times
in the next couple of days
EDIT created a PR: #30
Is there a roadmap / which functions should be added next?
I liked using ramda, but having ramda and its typings as dependencies made updating typescript mostly impossible. Also piping can make code less readable and types get lost. Then I stumbled upon this project and I think it is a pretty good alternative, that's why I want to participate whenever I find the time.
Imo making it easy to migrate from ramda or lodash is crucial. To make this easier I think these functions are essential:
always
, isNil
, defaultTo
, is
, split
, isEmpty
, uniqBy
, path
, prop
, propOr
, propEq
, nth
, length
, includes
, has
, assoc
, assocPath
, tail
, init
from remeda.
Have created related pr #53 to document some of the missing functions as Typescript one-liners.
Needs more discussion though...
from remeda.
Since there's already a toPairs function, I found fromPairs to be a curious omission, as they go hand in hand.
Would you be willing to accept a PR for it? Thanks!
from remeda.
Unfortunately, there is no replacement for _.times
. Would you be interested in implementing it?
from remeda.
Ah bummer. I'm about to go travel for a few months and in the process of wrapping things up and preparing. So no, don't count on me please 😃
from remeda.
@lewisl9029 Sure, feel free to submit PR.
from remeda.
Related Issues (20)
- Updating to 1.45.0 broke types when using pipe HOT 4
- Allow `undefined`, `null` as parameters to mergeDeep HOT 3
- `setPath` only works for existing properties HOT 3
- Add linting to JSDoc HOT 2
- `isPlainObject` (and others?) impacted by breaking changes in typescript 5.4 HOT 7
- Add type safety for `purry` HOT 7
- Add type safe `curry` function HOT 5
- Typescript error "Excessive stack depth" for `hasAtLeast` HOT 5
- FR: `get` accepting deep paths into objects. HOT 7
- `mapKeys`, `mapValues`, `entries`, etc. drop symbol keys without excluding them in the return type HOT 4
- isIncludedIn narrows the negated cases too aggressively HOT 2
- Allow `conditional.defaultCase` to infer its return type HOT 3
- Incorrect type assertion for isIncludedIn HOT 5
- Add optional `obj` parameter to `Evolver`? HOT 4
- Add `invariant` HOT 2
- Add `some` and `every`? HOT 16
- [Feature Request]: Support Maps in isDeepEqual HOT 6
- Add `sortedUniq` HOT 6
- Further improve `stringToPath` types; consolidate `setPath` and `pathOr`? HOT 5
- isDeepEqual and negation in guard can break type HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remeda.