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

@js-basics/code-snippet-to-svg

v1.5.6

Published

service to convert syntax highlighted code into svg by url

Downloads

29

Readme

GitHub package version license

OSX/Linux Build Status Build status NSP Status Dependencies Status DevDependencies Status

start with why JavaScript Style Guide: Good Parts Greenkeeper badge

Code snippet to SVG converter

usage

https://us-central1-code-snippet-to-svg.cloudfunctions.net/default/[repo-url][?range=1-18[&theme=clrs]]

scheme: 3024.day

code preview

scheme: 3024.night

code preview

scheme: adventure_time

code preview

scheme: afterglow

code preview

scheme: alien_blood

code preview

scheme: argonaut

code preview

scheme: arthur

code preview

scheme: atelier_sulphurpool

code preview

scheme: atom

code preview

scheme: atom_one_light

code preview

scheme: ayu

code preview

scheme: ayu_light

code preview

scheme: batman

code preview

scheme: belafonte.day

code preview

scheme: belafonte.night

code preview

scheme: birds_of_paradise

code preview

scheme: blazer

code preview

scheme: bluloco_dark

code preview

scheme: bluloco_light

code preview

scheme: borland

code preview

scheme: bright.lights

code preview

scheme: broadcast

code preview

scheme: brogrammer

code preview

scheme: builtin.dark

code preview

scheme: builtin.light

code preview

scheme: builtin.pastel.dark

code preview

scheme: builtin.solarized.dark

code preview

scheme: builtin.solarized.light

code preview

scheme: builtin.tango.dark

code preview

scheme: builtin.tango.light

code preview

scheme: c64

code preview

scheme: calamity

code preview

scheme: chalk

code preview

scheme: chalkboard

code preview

scheme: challenger_deep

code preview

scheme: ciapre

code preview

scheme: clrs

code preview

scheme: cobalt.neon

code preview

scheme: cobalt2

code preview

scheme: crayon_pony_fish

code preview

scheme: dark.pastel

code preview

scheme: darkside

code preview

scheme: deep

code preview

scheme: desert

code preview

scheme: dimmed_monokai

code preview

scheme: dot_gov

code preview

scheme: dracula

code preview

scheme: duotone.dark

code preview

scheme: earthsong

code preview

scheme: elemental

code preview

scheme: elementary

code preview

scheme: encom

code preview

scheme: espresso

code preview

scheme: espresso.libre

code preview

scheme: fahrenheit

code preview

scheme: fideloper

code preview

scheme: firefox_dev

code preview

scheme: firewatch

code preview

scheme: fish_tank

code preview

scheme: flat

code preview

scheme: flatland

code preview

scheme: floraverse

code preview

scheme: forest_blue

code preview

scheme: front_end_delight

code preview

scheme: fun_forrest

code preview

scheme: galaxy

code preview

scheme: github

code preview

scheme: glacier

code preview

scheme: grape

code preview

scheme: grass

code preview

scheme: gruvbox.dark

code preview

scheme: hacktober

code preview

scheme: hardcore

code preview

scheme: harper

code preview

scheme: highway

code preview

scheme: hipster.green

code preview

scheme: homebrew

code preview

scheme: hopscotch.256

code preview

scheme: hopscotch

code preview

scheme: hurtado

code preview

scheme: hybrid

code preview

scheme: ic_green_ppl

code preview

scheme: ic_orange_ppl

code preview

scheme: idea

code preview

scheme: idle_toes

code preview

scheme: ir_black

code preview

scheme: jackie.brown

code preview

scheme: japanesque

code preview

scheme: jet_brains.darcula

code preview

scheme: jellybeans

code preview

scheme: kibble

code preview

scheme: later.this.evening

code preview

scheme: lavandula

code preview

scheme: liquid_carbon

code preview

scheme: liquid_carbon_transparent

code preview

scheme: liquid_carbon_transparent_inverse

code preview

scheme: man.page

code preview

scheme: material

code preview

scheme: material_dark

code preview

scheme: mathias

code preview

scheme: medallion

code preview

scheme: misterioso

code preview

scheme: molokai

code preview

scheme: mona_lisa

code preview

scheme: monokai.remastered

code preview

scheme: monokai.soda

code preview

scheme: monokai.vivid

code preview

scheme: n0tch2k

code preview

scheme: neopolitan

code preview

scheme: neutron

code preview

scheme: night_lion.v1

code preview

scheme: night_lion.v2

code preview

scheme: nocturnal.winter

code preview

scheme: novel

code preview

scheme: obsidian

code preview

scheme: ocean

code preview

scheme: oceanic_material

code preview

scheme: ollie

code preview

scheme: one_half_dark

code preview

scheme: one_half_light

code preview

scheme: operator.mono.dark

code preview

scheme: pandora

code preview

scheme: parasio.dark

code preview

scheme: paul_millr

code preview

scheme: pencil_dark

code preview

scheme: pencil_light

code preview

scheme: piatto.light

code preview

scheme: pnevma

code preview

scheme: pro

code preview

scheme: pro.light

code preview

scheme: purple.rain

code preview

scheme: purplepeter

code preview

scheme: rebecca

code preview

scheme: red.alert

code preview

scheme: red.planet

code preview

scheme: red.sands

code preview

scheme: relaxed

code preview

scheme: rippedcasts

code preview

scheme: royal

code preview

scheme: ryuuko

code preview

scheme: sea_shells

code preview

scheme: seafoam.pastel

code preview

scheme: seti

code preview

scheme: shaman

code preview

scheme: slate

code preview

scheme: smyck

code preview

scheme: snazzy

code preview

scheme: soft_server

code preview

scheme: solarized.darcula

code preview

scheme: solarized.dark.-.patched

code preview

scheme: solarized.dark.higher.contrast

code preview

scheme: solarized.dark

code preview

scheme: solarized.light

code preview

scheme: space_gray.eighties.dull

code preview

scheme: space_gray.eighties

code preview

scheme: space_gray

code preview

scheme: spacedust

code preview

scheme: spiderman

code preview

scheme: spring

code preview

scheme: square

code preview

scheme: sundried

code preview

scheme: symfonic

code preview

scheme: synthwave

code preview

scheme: tango.adapted

code preview

scheme: tango.half.adapted

code preview

scheme: teerb

code preview

scheme: terminal.basic

code preview

scheme: thayer.bright

code preview

scheme: the.hulk

code preview

scheme: tomorrow

code preview

scheme: tomorrow.night.blue

code preview

scheme: tomorrow.night.bright

code preview

scheme: tomorrow.night.burns

code preview

scheme: tomorrow.night.eighties

code preview

scheme: tomorrow.night

code preview

scheme: toy_chest

code preview

scheme: treehouse

code preview

scheme: twilight

code preview

scheme: ubuntu

code preview

scheme: ultra_violent

code preview

scheme: under_the_sea

code preview

scheme: urple

code preview

scheme: vaughn

code preview

scheme: vibrant_ink

code preview

scheme: violet.dark

code preview

scheme: violet.light

code preview

scheme: warm_neon

code preview

scheme: wez

code preview

scheme: whimsy

code preview

scheme: wild_cherry

code preview

scheme: wombat

code preview

scheme: wryan

code preview

scheme: zenburn

code preview