Skip to content

Commit d5a994a

Browse files
authored
Merge pull request #14 from guybedford/patch-1
Include link to implementation
2 parents da7c5ef + a2bf48b commit d5a994a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ This allows old-style modules to `import` from new-style modules.
3333

3434
This provides the context that the module being loaded is a module, where in future this could be set by default.
3535

36+
## Implementation
37+
38+
An experimental implementation of this proposal is available at https://github.com/guybedford/node/tree/module-default, supporting NodeJS usage:
39+
40+
```
41+
node --experimental-modules --module x.js
42+
node --experimental-modules -m x.js
43+
node --experimental-modules -m -e "export var hello = 'world'"
44+
```
45+
3646
## Use Cases
3747

3848
### Existing modules

0 commit comments

Comments
 (0)