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

mdne

v0.3.0

Published

MDNE - Markdown Neo Edit. A simple markdown and code editor powered by Markdown-it, Ace and Carlo.

Downloads

275

Readme

mdne - Markdown Neo Edit

A simple markdown and code editor powered by Markdown-it, Ace and Carlo.

npm GitHub release .github/workflows/test.yml GitHub forks GitHub stars

Migrate from v0.1.x (for Windows)
Please re-run ./make-shortcut.cmd.

Features

  • Live preview of Markdown, HTML, LSX formats.
  • Export Markdown, HTML, LSX into PDF or HTML.
  • Code highlighting.
    • C#
    • CSS
    • Dockerfile
    • Go
    • GraphQL
    • HTML
    • JavaScript
    • JSON
    • JSON5
    • JSX
    • Latex
    • Less
    • Lisp
    • Makefile
    • Markdown
    • Protobuf
    • Python
    • R
    • Ruby
    • Rust
    • Sass
    • Scss
    • Shell script
    • SQL
    • SVG
    • Tex
    • TSX
    • TypeScript
    • XML
    • YAML
  • Markdown extended syntax
    • Many markdown-it plugins are enabled. See here.
  • Scripting and value expansion
  • Full screen mode (F11)

Distributions and Integrations

Install

Prerequirements

  • Google Chrome (latest)
  • Node>=10

Install from NPM

  • Linux

    env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=TRUE npm install -g mdne
  • Windows

    set PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=TRUE
    npm install -g mdne
  • Chrome OS (Chromebook / Chromebox) Crostini

    env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=TRUE npm install -g mdne
    cd
    mkdir Desktop

Create desktop and 'send to' menu shoorcuts (Windows)

  • Download source zip archive from here.
  • Extract zip archive and run make-shortcut.cmd.

Create desktop icon (Linux)

  • mdne.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=mdne
Comment=mdne
Exec=/home/(user name)/.nvm/versions/node/v??.??.??/bin/node /home/(user name)/.nvm/versions/node/v??.??.??/lib/node_modules/mdne/index.js %F
Icon=/home/(user name)/.nvm/versions/node/v??.??.??/lib/node_modules/mdne/contents/favicon.svg
Path=/home/(user name)/Desktop
Terminal=false
StartupNotify=false
Name[en_US]=mdne

Replace (user name) and ??.??.?? .

Run

Open blank editor:

  • Linux, Windows

    mdne
  • Chrome OS (Chromebook / Chromebox) Crostini

    env MDNE_CHROME_CHANNEL_CHROMIUM=true mdne
    • MDNE_CHROME_CHANNEL_CHROMIUM=TRUE can alternatively be written to .bashrc.
    • Chromium is downloaded locally the first time it run.

Open file:

  • Linux, Windows

    mdne README.md
  • Chrome OS (Chromebook / Chromebox) Crostini

    env MDNE_CHROME_CHANNEL_CHROMIUM=true mdne README.md
    • MDNE_CHROME_CHANNEL_CHROMIUM=TRUE can alternatively be written to .bashrc.
    • Chromium is downloaded locally the first time it run.

CLI

Please use Ménneu CLI.

Live demo

https://shellyln.github.io/mdne/

Open external files from live demo

  • Drop a local file into FileDropOpenDialog.
  • Set the target URL to a location hash.
  • Set zipped data to a location hash.
    • example: hello.md
      • location hash is generated when Save or SaveAs commands are done.

Live demo browser requirements

  • Google Chrome: latest
  • Firefox: latest

Live demo restrictions

  • Rendering / exporting to PDF is not available.
  • Save and SaveAs commands download the file being edited.

Deploying Live demo

  1. Run npm run manifest after edit the contents/*.
    • New contents/precache-manifest.yyyyy.js will generate.
  2. Remove the old contents/precache-manifest.xxxxx.js.
  3. Edit contents/service-worker.js to change the reference of contents/precache-manifest.yyyyy.js file name.
  4. Deploy the contents/*.

Security warning

Exposing of Node side functions by RPC is enabled in preview iframe.
DON'T OPEN links to untrusted sites from the preview.
Exposed functions have the ability to list / read / write local files.

License

ISC
Copyright (c) 2019 Shellyl_N and Authors.


Bundled softwares' license