My First Playground

node v8.17.0
version: 2.0.0
endpointsharetweet
This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
http = require('http') const server = http.createServer((req, res) => { // Set the correct content type header res.setHeader('content-type', 'text/html'); res.end(` <!doctype html> <html> <body> <h2>Bruteforce Javascript</h2> <hr> <p>Easy characterset copy/paste:</p> <i>abcdefghijklmnopqrstuvwxyz</i><br> <i>ABCDEFGHIJKLMNOPQRSTUVWXYZ</i><br> <i>0123456789</i><br> <i>!"#$%&\'()*+,-./:;<=>?@[\\]^_\`{|}~ </i><br><br> </body> </html> `); }); server.listen(9000) console.log('Server running at http://127.0.0.1:9000/');
Loading…

no comments

    sign in to comment