Socket
Book a DemoInstallSign in
Socket

react-glass

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-glass

A code editor built on React.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
6
200%
Maintainers
1
Weekly downloads
 
Created
Source

Glass

Glass is an in browser code editor written in react.

What?

It's a fancy <textarea>.

Before:

<textarea />

After:

npm install --save react-glass

Because glass is taken by an abandoned attempt at what standardJS did better anyway.

// Arcane import black magic
<Glass language='javascript' />

And now, your <textarea> has syntax highlighting.

How?

Glass wraps a textarea and makes the original element invisible, passing the value through prismjs and making it colorful. Yay!

Why?

For the thrill of the journey, and the hangover of arrival. Or something like that.

Wait, that doesn't make sense.

Where?

Right here. Download minified releases in the "releases" tab, where one figures releases would go.

For a live demo, visit the website. It ends in .space, because my registrar was having a sale on the .space domain name.

Who?

Written with love and coffee by Kyle Fahringer. If college admissions officers are reading: Hi! Please accept me.

When?

Right here, right now.

FAQs

Package last updated on 27 Jun 2016

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