![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Note: This project is in alpha. Expect (and report) bugs!
JavaScript Evaluated Style Sheets, from the people who brought you Less.
Jess looks / functions more like the languages you're used to — CSS and JavaScript — and integrates smoothly with both. Sass / Less are mini-programming languages, which have to manage things like variable scope. Jess is just JavaScript, and Jess variables and mixins are just JavaScript variables and functions, respectively. That means you can export Jess into JavaScript, and you can import JavaScript into Jess. (You can do a lot more than that, but that's the basic premise.)
A "jess" is defined as "a short leather strap that is fastened around each leg of a hawk".
yarn install jess
npm install jess
To compile a .jess
file into CSS:
jess file.jess
@let myWidth: 3px;
.box {
width: $myWidth;
}
@import { constants } from './constants.js';
.box {
width: $(constants.WIDTH + 10)px;
}
@import { myWidth } from './stylesheet.jess';
.box {
width: $myWidth;
}
@import styles from './stylesheet.jess';
@include styles();
@mixin square(size) {
width: $size;
height: $size;
}
.box {
@include square(50px);
}
In progress, requires the (unfinished) Rollup or Webpack plugin.
import styles, { square } from './styles.jess'
const css = styles()
export const myComponent = props => {
return <div className={css.box} style={square(props.size).obj()}>Component</div>
}
As this is a WIP, file issues with your ideas/concerns/wants!
FAQs
JavaScript Enhanced Style Sheets
The npm package jess receives a total of 15 weekly downloads. As such, jess popularity was classified as not popular.
We found that jess 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.