Skip to content
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

Potential WIP replacement #9

Open
dead-claudia opened this issue Jul 26, 2018 · 0 comments
Open

Potential WIP replacement #9

dead-claudia opened this issue Jul 26, 2018 · 0 comments

Comments

@dead-claudia
Copy link

I decided to start working on a reimplementation of this based on the most recent Node: https://gist.github.com/isiahmeadows/829cfa16da8dc4688c18dad378e97df6

It's currently untested, but I plan to eventually port it with its tests, so I can ensure it actually works. If you would like to take that over and do it yourself, feel free, but that's what I've got so far.

Notes:

  • It supports most everything Node does, provided the engine supports the relevant stuff.
  • It depends on is-arguments, is-regex, and is-callable.
  • I removed all the ES6 stuff and re-implemented what I needed, so it should work on any machine that supports ES5.
  • I made a few alterations to optimize it a little, usually when it involved very suboptimal FP stuff that might not even exist in ES3 environments.
  • The test bed project I had uses an ESLint config, and where I initially worked on it locally, it auto-formatted it a bit differently than what Node core uses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant