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

purty

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

purty

PureScript pretty printer

latest
Source
npmnpm
Version
7.0.0
Version published
Weekly downloads
403
6.33%
Maintainers
1
Weekly downloads
 
Created
Source

purty

pipeline status Build Status Build status coverage report Download

What is it?

A source code formatter for PureScript.

Installation

npm

You can install the npm package

npm install purty

Precompiled Binary

Binaries are available from Bintray

Usage

You can format a file by invoking purty with the path to the file.

For instance, if you had a Main module in a src directory, you could say:

purty src/Main.purs

This will write the formatted module to STDOUT. If you'd like to format the module and write it back to the same file, you can use the --write option:

purty --write src/Main.purs

This will write the formatted module to src/Main.purs.

A listing of all available options can be shown with the --help option

purty --help

How does it format?

For examples of how purty formats, see the golden tests.

FAQs

Package last updated on 02 Mar 2021

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