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

coc-write-good

v0.0.3

Published

Applies the Write Good Linter to your Markdown, so you can write more good.

Downloads

248

Readme

Write Good Linter for Coc.nvim

Ported from vscode-write-good.

screenshot

Because some APIs of vscode are missing in coc.nvim, disable some features temporarily:

  • onDidChangeTextDocument: VS Code expect input is a TextDocument, coc.nvim expect input is a DidChangeTextDocumentParams. So it will lint when onDidSaveTextDocument and onDidOpenTextDocument, not onDidChangeTextDocument

Install

" command line
CocInstall coc-write-good
" or add the following code to your vimrc
let g:coc_global_extensions = ['coc-write-good', 'other coc-plugins']

Provides a write-good linter extension for Visual Studio Code.

Installation

Press F1 or CTRL+P (or CMD+P) and type out > ext install travisthetechie.write-good-linter. Check out the latest published version on the Visual Studio Marketplace.

Settings

write-good.languages defaults to ["markdown", "plaintext"], but it can be overridden to something like ["markdown"] if you would like linting to apply to other filetypes.

write-good.write-good-config is a direct pass through to the underlying write-good engine. To enable eprime check and disable check for so at the start of sentance, add "write-good.write-good-config": { "eprime": true, "so": false } to your settings.

write-good.only-lint-on-save disables linting during editing for large files. A save triggers linting.

write-good.debounce-time-in-ms is the minimum time, in milliseconds, that must wait between linting attempts. Saving ignores the minimum time. Default is 200ms. This is useful if linting causes any performance hit and you want to limit it.

License and acknowledgements

This is licensed under the MIT open source license. Do what you want with this software, just include notice that it orginated with me.

The heavy lifting of this extension is done via Brian Ford's write-good npm module.

Working on this project

Install Node.js & npm install in the project.

Open up the project in Visual Studio Code and hit F5 to open up a developement host version of Visual Studio Code with the extension installed. Open up a Markdown file and write some bad prose to see linter in action.

Check out the Extending Visual Studio Code documentation for more information.

Publishing

  1. npm install -g vsce
  2. Visit https://travisthetechie.visualstudio.com/_details/security/tokens for a token (all accounts, all scopes)
  3. vsce login travisthetechie
  4. vsce publish

Thank you to contributors

Thank you to James Ruskin for enabling settings. PR4

Thank you to Freed-Wu for typo fixes in configuration. PR22