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

joplin-plugin-linewraptoggle

v0.2.1

Published

Enable or disable line wrap in the editors, the viewers or just inside code blocks

Readme

Line wrap toggle plugin for Joplin

A Joplin plugin that provides simple control over line wrapping behavior in markdown editors and the note viewer. You will probably want it if you use Joplin for code snippets, markdown tables, ASCII diagrams, long lines, or just prefer horizontal scrolling.

Features

  • Toggle line wrap on/off with a single click
  • Toolbar button for quick access (optional):
  • Tools menu integration
  • The plugin does not modify note content - all styling is applied externally
  • Separate control for markdown editor and viewer
  • State persists across Joplin sessions
  • Compatible with CodeMirror 6
  • Cross-platform support (Desktop and Mobile)

Limitations

  • Toolbar button visibility changes require a Joplin restart to take effect
  • Rich text editor is not currently supported

Compatibility

  • Joplin Version: 3.2 or later
  • CodeMirror: Version 6 (default since Joplin 3.2)
  • Platforms: Desktop (Windows, macOS, Linux), Android, iOS

Version history

  • 0.2 (23/01/2025)

    • Added padding at the end of the text for the editor
    • Added padding at the end of the text for the viewer
  • 0.1 (16/01/2025)

    • Initial release

How It Works

The plugin integrates with Joplin's CodeMirror 6 editor and uses message-based notifications to stay in sync with your settings. Each content script requests the initial configuration, then waits for changes.

When line wrap is disabled, horizontal scrollbars are automatically enabled to allow viewing long lines.

When line wrap is enabled, Joplin will behave exactly as if the plugin was never installed. It does nothing to the default line wrap mechanism.

This plugin does not modify color schemes, fonts or any other visual styles.

Installation

From Joplin Plugin Repository

  1. Open Joplin
  2. Go to Tools > Options > Plugins
  3. Search for "Line wrap toggle"
  4. Click Install

Manual Installation

  1. Download the latest .jpl file from the releases page
  2. Open Joplin
  3. Go to Tools > Options > Plugins
  4. Click on the gear icon and select "Install from file"
  5. Select the downloaded .jpl file

Usage

Toggle line wrap

Via Toolbar:

  • Click the line wrap toggle button in the editor toolbar (if enabled in settings)

Via Menu (Desktop):

  • Go to Tools > Toggle line wrap

Via Toolbar (Mobile):

  • Two toggle buttons appear in the note toolbar (three dots menu area), one for the editor and another for the viewer

Configuration

Go to Tools > Options > Line wrap toggle to configure:

  • Disable line wrap in markdown editor: When checked, line wrap is disabled in the markdown editor
  • Disable line wrap in viewer: When checked, line wrap is disabled in the note viewer
  • Show toolbar button: Display a toolbar button to toggle line wrap

License

AGPL-3.0-only - See LICENSE file for details.

This plugin is licensed under the same license as Joplin to ensure compatibility.

AI disclaimer

This plugin was cpartially coded with the help of Claude Opus 4.5 and GPT 5.1 Codex. For the execution it does not use neither require any AI model or cloud services.

Author

Daniel BP

Development

Prerequisites

  • Node.js 18 or later
  • npm

Setup

npm install

Build

npm run dist

Testing

  1. Build the plugin
  2. Open Joplin
  3. Go to Tools > Options > Plugins
  4. Enable "Show Advanced Settings"
  5. In "Development plugins" field, enter the path to your plugin directory
  6. Restart Joplin
  7. The plugin should now be loaded

Links

  • Repository: https://github.com/danpeig/joplin-plugin-linewraptoggle
  • Homepage: https://github.com/danpeig/joplin-plugin-linewraptoggle
  • Issues: https://github.com/danpeig/joplin-plugin-linewraptoggle/issues