New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

righteous

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

righteous

Kary Foundation Style TypeScript and JavaScript Code Formatter Engine

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

<img src="https://cloud.githubusercontent.com/assets/2157285/18159642/ea4d67e2-703e-11e6-9111-dae6fad8b766.png" width="130"

Righteous

Kary Foundation Coding Style based code formating server for TypeScript and JavaScript for use within KF's IDES and Editors, presenting the following advantages:

  • Understands Kary Foundation Comment's Indentation
  • Understands Kary Foundation's Spacing Policy
  • Supports TypeScript (Uses TypeScript's own compiler service APIs)

Usage?

Installation:

% npm install righteous --save

And then ready to use:

import righteous = require('righteous');
let mySourceFile = "..." // some source code...
let myFormattedSourceFile = righteous( mySourceFile );

The .d.ts declaration file is included within the project. Your compiler must auto detect it but if it can't then use:

/node_modules/righteous/typings/righteous.d.ts

FAQs

Package last updated on 01 Sep 2016

Did you know?

Socket

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.

Install

Related posts