Skip to content

Expose a means of passing node6 onto dependencies #6

Description

@hughsk

For when using node6 in application code alongside packages that expect you to run node --harmony. Maybe this?

// just this package
require('node6')(__dirname)

// also these packages
require('node6')(__dirname, 'co')
require('node6')(__dirname, 'co-fs')

// just do everything in this package's node_modules tree
require('node6')(__dirname, true)

// or everything in co-fs
require('node6')(__dirname, 'co-fs', true)

koa, co and their ecosystem of packages all fall down otherwise, which would be a shame considering there's already been a lot of good stuff to come out of there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions