my-prettier

0.8.0 • Public • Published

MyPrettier

Prettier Standalone for VisionX and Controller

Usage

import format from 'my-prettier';
import * as fs from 'fs';
 
// vx
const vx = fs.readFileSync('./example.vx', 'utf-8');
const formatVX = format(text, 'vx');
 
// controller
const ctrl = fs.readFileSync('./example.ts', 'utf-8');
const formatCtrl = format(ctrl, 'ctrl');

Readme

Keywords

none

Package Sidebar

Install

npm i my-prettier

Weekly Downloads

1

Version

0.8.0

License

MIT

Unpacked Size

9.77 MB

Total Files

73

Last publish

Collaborators

  • albertxiao