Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

next-format

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-format

Opinionated es-next formatter inspired by golang fmt.

  • 0.0.10
  • npm
  • Socket score

Version published
Weekly downloads
14
increased by600%
Maintainers
1
Weekly downloads
 
Created
Source

next-format

Opinionated es-next formatter inspired by golang fmt.

Because you should not think about how to format javascript, and you should never debate it, and it's basically scheme in the browser and should look alike.

install

yarn add --dev next-format

usage

In any directory contining .js files run nextformat in the command line and all the javascript files will be formatted.

> nextformat

api

import next form 'next-format'
...
// next :: String -> String
next(source) // => FormatedCode

FAQs

Package last updated on 03 May 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc