0.3.0 • Published 11 months ago
@rometools/js-api v0.3.0
Rome JavaScript Bindings
Official JavaScript bindings for the package rome
Installation
npm i rome
npm i @rometools/js-api
The package rome
is marked as peer dependency of this package.
Usage
import {Rome} from "@rometools/js-api"
const rome = await Rome.create({
backendKind: BackendKind.NODE,
});
const result = await rome.formatContent("function f () { }", {
filePath: "example.js",
});
console.log(result.content)
Philosophy
The project philosophy can be found on our website.
Community
Contribution and development instructions can be found in CONTRIBUTING.
Additional project coordination and real-time discussion happens on our Discord server. Remember that all activity on the Discord server is still moderated and will be strictly enforced under the project's Code of Conduct.
0.3.0-nightly.50eb45f
11 months ago
0.3.0
1 year ago
0.2.0-nightly.aec33ef
1 year ago
0.3.0-nightly.0133f40
1 year ago
0.2.0
1 year ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.0-nightly.211540d
2 years ago
0.0.0
2 years ago