diff --git a/README.md b/README.md index 6336c4b..09116fd 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,15 @@ seamless-immutable Immutable JS data structures which are backwards-compatible with normal Arrays and Objects. +```sh +npm install seamless-immutable +``` + Use them in `for` loops, pass them to functions expecting vanilla JavaScript data structures, etc. ```javascript +const Immutable = require('seamless-immutable') + var array = Immutable(["totally", "immutable", {hammer: "Can’t Touch This"}]); array[1] = "I'm going to mutate you!"