npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

fast-editorconfig

v1.0.0

Published

Generate your .editorconfig file.

Downloads

8

Readme

Fast Editorconfig 1.0.0

An easy way to generate your editorconfig files.

Instalation

npm install --global fast-editorconfig

Using

After install Fast Editorconfig you have a command called fec in your console.

FE create a new file of .editorconfig but if you already have an .editorconfig file in your project and need just add more options to him don't worry, you can do it as well.

Go to the directory which you want add an .editorconfig file and type:

fec --type js --size 2 --style space

it's will generate an .editorconfig with this content:

#editorconfig.org

[*.js]
indent-size = 2
indent-style = space

Options

Help

  • Command: --help
  • Alias: -h

Version

  • Command: --version
  • Alias: -v

File type

  • Command: --type
  • Alias: -t
  • Values: all,none - any language type.

none is the same that all in this case

Some features:

You can type the entire name of the language, eg:

fec -t ruby -l 2 -s space

And the results is:

[*.rb]
indent-size = 2
indent-style = 2

But wait, the languages supported for now is:

  • javascript - .js
  • ruby - .rb
  • python - .py

If you type all time all name of the language and want this feature just open an issue.

Size of the indent

  • Command: --size
  • Alias: -l
  • Values: integer

Style of the indent

  • Command: --style
  • Alias: -s
  • Values: space - tab

Root

  • Command: --root
  • Alias: -r
  • Values: none.

none is the same as true

Trim Trailing Whitespace

  • Command: --whitespace
  • Alias: -e
  • Values: none - false

none is the same as true

Max line length

  • Command: --maxline
  • Alias: -m
  • Values: integer

New line

  • Command: --newline
  • Alias: -n
  • Values: none - false

none is the same as true

Contributing

Fork the project and send pull requests. Open issues

Author

Filipe Linhares

License

MIT