-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop dependency on moment.js? #317
Comments
It is only dev dependencies : https://github.com/moment/moment/blob/develop/package.json#L39
|
I'm sorry if I was unclear, I meant moment itself:
It is quite a substantial amount for smaller things. |
I looked into this at one point. The ideal thing to do here would be to replace Moment with |
Or add duration and timestamp like a dependencie with addFormat. convict.addFormat(require('convict-duration')) |
Next step:
|
Would it be possible to drop the dependency on
moment
? I want to usenode-convict
in a smaller project, but the fact that it depends on moment which pulls in quite a substantial amount of code I have to second guess if I can use it. Perhaps some smaller date function library could replace it?I also noticed yargs, which seem to have a limited use, what is it used for today?
Thanks for a very useful package.
The text was updated successfully, but these errors were encountered: