![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.
Æsthetic ~ Language beautification support leveraging the Sparser lexing algorithm.
The new generation code beautification tool for formatting HTML, Liquid, CSS/SCSS, JavaScript, TypeScript and more! Æsthetic leverages the Sparser lexing algorithm and its parse approach has been repurposed from the distributed source of the late and powerful PrettyDiff.
Documentation lives on æsthetic.dev
Æsthetic is supports both CJS/ESM environments and also provides basic CLI support.
pnpm add esthetic
yarn add esthetic
npm install esthetic --save
https://unpkg.com/esthetic
Consult the documentation for a better understanding.
$ esthetic <file> --flag
import esthetic from 'esthetic';
esthetic.format('...', { /* rules */ })
const esthetic = require('esthetic');
esthetic.format('...', { /* rules */ })
Looking to contribute? Æsthetic leverages pnpm so ensure you're using it as your package manager. Development is intended to be conducted within the vscode text editor. Fork or clone the project and install dependencies.
Æsthetic uses the powerful AVA test runner together with a small helper utility that helps alleviate some of the complexities involved with testing tools of its criteria. It's recommended that you develop in a two pane terminal. The dev.test.mjs and dev.txt files are core to testing and working on the module, they will be called when running pnpm play
The following commands are available as executable scripts.
pnpm dev Bundles module with ESBuild (via tsup) in watch mode
pnpm play Starts up AVA in development mode and runs the dev.txt
pnpm build Generates the distribution bundles
pnpm pack Packages the module up for distribution on NPM registry
pnpm test Runs all the tests
pnpm tests Cherry pick test cases to run
Consult the tests readme for more information on
test
prefixed commands
Æsthetic owes its existence to Sparser and PrettyDiff. This project has been adapted from these 2 brilliant tools and while largely refactored + overhauled the original parse architecture remains intact.
Æsthetic is made possible because of the Austin Cheney who is the original author of Sparser and PrettyDiff. Austin is one of the great minds in JavaScript and I want to thank him for open sourcing these tools.
Both PrettyDiff and Sparser were retired in 2019 after a nearly a decade of production. Austin has since created Shared File Systems which is a privacy first point-to-point communication tool. Please check it out and also have a read of wisdom which personally helped me become a better developer.
FAQs
Æsthetic ~ Language beautification support leveraging the Sparser lexing algorithm.
The npm package esthetic receives a total of 1,083 weekly downloads. As such, esthetic popularity was classified as popular.
We found that esthetic 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.