Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "reify", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "node/index.js", | ||
@@ -5,0 +5,0 @@ "browser": "lib/empty.js", |
@@ -8,10 +8,25 @@ # re•i•fy <sub>_verb, formal_</sub> [![Build Status](https://travis-ci.org/benjamn/reify.svg?branch=master)](https://travis-ci.org/benjamn/reify) | ||
Well, ok, one caveat: this package isn't ready for production use just yet. As of this writing, the repository is all of two days old! Watch this space to find out when `reify` is safe to use. | ||
Usage | ||
--- | ||
1. Run `npm install --save reify` in your package or app directory. | ||
2. Call `require("reify")` before importing modules that contain `import` and `export` statements. | ||
1. Run `npm install --save reify` in your package or app directory. The | ||
`--save` is important because reification only applies to modules in | ||
packages that explicitly depend on the `reify` package. | ||
2. Call `require("reify")` before importing modules that contain `import` | ||
and `export` statements. | ||
You can also easily `reify` the Node REPL: | ||
```sh | ||
% node | ||
> require("reify/repl") | ||
{} | ||
> import { strictEqual } from "assert" | ||
> strictEqual(2 + 2, 5) | ||
AssertionError: 4 === 5 | ||
at repl:1:1 | ||
at REPLServer.defaultEval (repl.js:272:27) | ||
... | ||
``` | ||
Benefits | ||
@@ -18,0 +33,0 @@ --- |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35345
65