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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@phoenix-plugin-registry/brackets-sort-text

v0.1.4

Published

Sort Text extension for Brackets. Provide operations to sort, reverse, randomize and remove duplicate lines.

Readme

Brackets Sort Text Extension

Build Status

A Brackets extension that provides a couple of utility functions for sorting lines in the current document.

Installation

  • Select File > Extension Manager... (or click the "brick" icon in the toolbar)
  • Click Available Icon at the top
  • Enter Brackets Sort Text in the search field
  • Click Install

How To Use

The Extension provides a couple of new commands that work on the text lines in your editor. These new commands are available as menu entries added to the Edit menu. In the Edit menu you'll find

  • Sort Lines - F7
  • Reverse Lines - Shift-F7
  • Sort Lines by length - Command-F7
  • Shuffle Lines - Alt-F7
  • Remove Duplicate Lines - Alt-Command-F7

Mode of operation

All operations work on all lines in the current editor. If there is a selection, then the operation is applied to this selection only (there are exceptions, see below). The Extension provides only operations that work on whole lines. There is no way to select a word and sort the letters. A line is the unit for each operation.

Sort Lines

All lines in the current text editor will be alphabetically sorted. If you specify a selection, then only this selection is sorted for you.

Reverse Lines

All lines in the current text editor are reversed. This means that the previously last line is the first line after the operation has finished. You can use this operation to toggle the sort order.

Reverse Lines Selection

All lines in the current selection are reversed. This means that the previously last line is the first line after the operation has finished. You can use this operation to toggle the sort order.

Sort Lines by length

I don't have a practical example for this operation. But all lines are sorted by length and the shortest line will be the first line. The functionality was added to test the sort operation.

Shuffle Lines

Un-order all lines in the text editor. The functionality was added to test the sort operation.

Remove Duplicate Lines

This is helpful to "reduce" a text to omit redundant lines. This operation will sort all lines upfront and then remove the duplicate lines.

Third Party Libraries

JavaScript Natural Sort

License

MIT-licensed -- see main.js for details.