Skip to content

Support node 6 #64

Description

@ranyitz

Some projects still support node 6.

My use case is that I want to use prompts in jestjs/jest#6442

The solution for that could be fairly easy:

  1. Transpile the code using babel to dist
  2. Create a main file that will route between dist/index.js and lib/index.js according to the user's node version.
  3. Add another travis run using node 6.

It shouldn't interfere with the development, and there will be no performance change for users that use node > 8.

Let me know your thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions