aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/md/docs/web3_wrapper/2/installation.md
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-19 06:42:33 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-19 06:42:33 +0800
commitc87e68f833a2d8a87846d70a9d4a727b46323eea (patch)
treeeb40dc12694baf607a373f427f32dbd9393ac72f /packages/website/md/docs/web3_wrapper/2/installation.md
parenta764dfa789ba44e519371b4a1e4569db7f551fb7 (diff)
parent65d85ca5008fe0c307506b388d6ace858122f8ad (diff)
downloaddexon-0x-contracts-c87e68f833a2d8a87846d70a9d4a727b46323eea.tar
dexon-0x-contracts-c87e68f833a2d8a87846d70a9d4a727b46323eea.tar.gz
dexon-0x-contracts-c87e68f833a2d8a87846d70a9d4a727b46323eea.tar.bz2
dexon-0x-contracts-c87e68f833a2d8a87846d70a9d4a727b46323eea.tar.lz
dexon-0x-contracts-c87e68f833a2d8a87846d70a9d4a727b46323eea.tar.xz
dexon-0x-contracts-c87e68f833a2d8a87846d70a9d4a727b46323eea.tar.zst
dexon-0x-contracts-c87e68f833a2d8a87846d70a9d4a727b46323eea.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/beta-render-et-al
Diffstat (limited to 'packages/website/md/docs/web3_wrapper/2/installation.md')
-rw-r--r--packages/website/md/docs/web3_wrapper/2/installation.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/website/md/docs/web3_wrapper/2/installation.md b/packages/website/md/docs/web3_wrapper/2/installation.md
new file mode 100644
index 000000000..14c4f066c
--- /dev/null
+++ b/packages/website/md/docs/web3_wrapper/2/installation.md
@@ -0,0 +1,25 @@
+**Install**
+
+```bash
+npm install @0x/web3-wrapper --save
+```
+
+**Import**
+
+```javascript
+import { Web3Wrapper } from '@0x/web3-wrapper';
+```
+
+or
+
+```javascript
+var Web3Wrapper = require('@0x/web3-wrapper').Web3Wrapper;
+```
+
+If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:
+
+```
+"include": [
+ "./node_modules/web3-typescript-typings/index.d.ts",
+]
+```