Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

devl

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devl

A development server.

latest
npmnpm
Version
2.0.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

devl

A development server.

$ echo export default 'Hello world' > hello-world.js
$ echo import helloWorld from './hello-world'; alert(helloWorld) > hello-world-test.js
$ devl
Server is started on port 3333.

Then open http://localhost:3333/hello-world-test.devl in your browser.

You will get this:

<!DOCTYPE html>
<html>
    <head>
        <title>hello-world-test</title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width">
        <meta http-equiv="X-UA-Compatible" content="IE=EDGE">
    </head>
    <body>
        <script src="/hello-world-test.devl-bundle"></script>
    </body>
</html>

Where /hello-world-test.devl-bundle is:

(function () {
var helloWorld = 'Hello world';

alert(helloWorld);

}());
//# sourceMappingURL=/hello-world-test.devl-bundle.map

Enjoy!

FAQs

Package last updated on 30 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts