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

jsonresume-theme-8-bit-sheep

v1.7.0

Published

8-bit-sheep JSON Resume Theme

Downloads

25

Readme

jsonresume-theme-8-bit-sheep

The 8-bit-sheep JSON Resume theme.

This theme follows the JSON Resume schema found at https://raw.githubusercontent.com/jsonresume/resume-schema/master/schema.json.

Installation

You can add the theme to your resume by installing it with some of the following commands

npm i jsonresume-theme-8-bit-sheep
yarn add jsonresume-theme-8-bit-sheep
pnpm i jsonresume-theme-8-bit-sheep

Usage

resume export resume.html --theme 8-bit-sheep
resume export resume.pdf --theme 8-bit-sheep

Local development of the theme

The theme uses React, styled-components, and Vite. The builds are run with tsup and the bundle can be found from ./dist/index.js

Requirements

  • node.js
  • npm

Steps

  • Run npm install
  • Start dev server with npm run dev. This starts a dev server on one of you localhost ports with help of Vite. The site is using resume.json as the source of information for the CV.

Local build

  • Run npm run build which will generate the JS build into ./dist
  • Run npm run create-example-html to generate the HTML build to ./build/html/example.html
  • Run npm run create-example-pdf to generate the PDF build to ./build/pdf/example.pdf

Tests

Unit tests can be run with npm run test. Tests are written with vitest.

Linting

The code style follows some basic recommendations in conjunction with prettier. To perform linting run npm run lint.

CI

./.github/workflows/ci.yaml defines a CI pipeline that runs the build, linting, tests, and CV builds to assert that everything is working.

Publish new version

  • Make sure you are in the main-branch and that the new changes that you want to publish have been merged there
  • Run npm version <major|minor|patch> depending on what kind of changes have been made.
  • Run npm publish. This will run the build and publish the contents of ./dist.
  • Push the new commit directly to main with git push
  • Push the new tag created by npm publish by running git push origin <new_version>
  • Go to https://github.com/8-bit-sheep/jsonresume-theme-8-bit-sheep/releases and click "Draft a new release".
    • Select the new tag that you just pushed and click "Generate release notes".
    • Publish the release