in node: var fs = require('fs') in es6: import "fs"; let fs = this.get("fs");https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-06/jun-5-modules.md#do-we-need-the-module-foo-from-foo-import-syntax …
Replying to @rhodesjason
@rhodesjason @substack you can also mix them: import glob, { sync } from "glob"
6:04 PM - 13 Jun 2014
from Portland, OR
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.