New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nerimity/nevula

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nerimity/nevula

A (relatively) simple and (hopefully) performant markup parser

  • 0.14.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-28.57%
Maintainers
1
Weekly downloads
 
Created
Source

Nevula

A (relatively) simple and (hopefully) performant markup parser made for nerimity.

Please note, this is not a markdown parser, this is its own special markup format called nevula, a specification for this format is a work in progress.

This project has grown out of a need for a relatively simple renderer agnostic, reasonably performant markup parser with a relatively small code size.

Features

renderer agnostic

The outputted entity format is fairly simple and has been designed to make it easy to make renderers for.

relatively simple

This may change over time, but for now it only parses a fairly restricted set of rules intented to make sense.

An example of this is the italic syntax, // looks slanted like italicized text and two slashes are used to be consistent with other rules and to make it easier to avoid conflicts with other text.

reasonably performant

see: Benchmarks

Benchmarks

Just to be clear, many types of benchmarks will favour this markup because of it's smaller surface area compared to something like a full markdown parser.

Simple Markup

> **Hello world!**

**__inside__ __inside again__**

``code``

** ~~not~~ a complete marker! __complete__
NameRunsTotal (ms)Average (ms)
nevula2500153.6990.061
nevula with inserted text spans2500159.2080.064
/x/markdown@v2.0.0 (based on an older version of Marked)2500284.1730.114

Keywords

FAQs

Package last updated on 25 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc