JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q57552F
  • License AGPL-3.0

@magic pre module. syntax highlighting for javascript.

Package Exports

  • @magic-modules/pre

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@magic-modules/pre) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@magic-modules/pre

syntax highlighting for @magic

NPM version Linux Build Status Windows Build Status Coverage Status Greenkeeper badge Known Vulnerabilities

install:

npm install --save-exact @magic-modules/pre

usage:

// in any component view
const component = {
  View: () => Pre('const name = true')
}

changelog

0.0.1

first commit

0.0.2

use @magic npm org for dependency installs, instead of github

0.0.3
  • require node 13.5.0
  • except array as input
0.0.4

better string, comment and link handling.

0.0.5

fix comment indents

0.0.6

cleanup.

0.0.7

  • do not error on empty lines
  • convert to Modules, no more lib functions.
  • lib now exports keywords, builtins, booleans, regexes

0.0.8

  • bump required node version to 14.2.0
  • no empty strings in keywords and builtins

0.0.9 - unreleased

...