
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
CSS to html, boot up a html page to show your css styles.
e.g. testing/editing css without booting your app. keeping a styles/layouts list for reference.
Currently, it's still in development, with limited features.
It currently supports:
color: black;.selector, input.selector, .selector1.selector2@import syntax (with postcss-import)@extend syntax (with postcss-extend)props declaration
el.textContent with props.content<script /> tag with props.javascriptNPM install
$ npm install styleshow
Example: Styleshow what's in show.css
$ styleshow show.css
It parses your .css entry file, boot up a browserSync server, then render as html page with ReactJS components accordingly.
propsUsing props declaration, it allows you to set the props in your html/react component.
show.css
/* supports @import with postcss-import */
@import '../../build/styles/application.css';
@import '../../build/styles/custom.css';
/* Put what you want to show */
.tabs{
/* supports @extend with postcss-extend */
@extend .container;
ul.nav.nav-tabs{
/* loading javascript */
props: '{"javascript": "http://localhost:3000/tab.js"}';
/* dummy class name .-- to differentiate multiple element with same selector */
li.--1{
a{
props: '{"content": "Tab 1", "href": "#"}';
}
}
li.--2{
a.checked{
props: '{"content": "Tab 2", "href": "#"}';
}
}
li.--3{
a.done{
props: '{"content": "Tab 2", "href": "#"}';
}
}
}
}
screenshot

See LICENSE
FAQs
CSS to html, generate html to show your css styles
We found that styleshow demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.