Isomorphic unsafe node.js vm for node and browser
Last updated 5 years ago by alitaheri .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install isomorphic-vm 
SYNC missed versions from official npm registry.

Isomorphic VM

npm Build Status

Based on vm-browserify.

Provides an isomorphic api for node.js in browser. Uses the native vm module in node.js environment.


You can install this package with the following command:

npm install isomorphic-vm

Using with webpack and browserify

It works with webpack and browserify out of box, but you will need to add vm as external module to avoid errors (or warnings).


This library mimics the node.js's vm module.

However, the shim ignores the options for every function.

Also keep in mind, there is a very subtle difference, this library doesn't re-export the vm or shim, it exports one of them on the default export. In other words, instead of doing this:

import * as vm from 'vm';

you should do:

import vm from 'isomorphic-vm';


The typescript type definitions are also available and are installed via npm.


This project is licensed under the MIT license.

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

1 Versions

  • 0.0.1                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
Dev Dependencies (5)

Copyright 2014 - 2017 © |