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

create-nexume-app

v1.0.0

Published

A simple and static resume template using Next.js and TypeScript.

Downloads

2

Readme

Nexume

Node NPM License

nexume is a simple and static resume template using Next.js and TypeScript.


Getting started

nexume can be installed by running the following commands.

First, install create-nexume-app globally.

npm i -g create-nexume-app

Then, run following npx command which will generate a folder containg basic nexume template.

npx create-nexume-app <my-app>

You can then remove globally installed package by running npm uninstall -g create-nexume-app.


Before installing

Make sure node.js version over 18 is installed on your machine.

node -v

if node version is below 18, you can run one of the following commands to upgrade or change node version.

Homebrew

# Install node version using homebrew.
brew install node@18

# Unlink previously used node version.
brew unlink node

# Link newly installed node version.
brew link node@18

nvm

# Install node version using nvm.
nvm install v18.12.0

# Choose newly installed node version.
nvm use v18.12.0

sudo

# Install node version using sudo.
sudo n 18.12.0

# Choose newly installed node version on drop-down menu.
sudo n

Deploying your app

Most hosting platforms allow you to define build command and output folder:

  • Build command: npm run build or next build
  • Output folder: out

If you are using Vercel, you don't need to configure any options since vercel will automatically detect output directory.


Folder structure

nexume requires a precise folder structure:

  • public: Contains all publicly accessible images (favicon.ico, profile_img.png)
  • app: Contains all tsx files (page.tsx, layout.tsx)
  • out: Contains all static assets (html, js, css)

See complete documentation at Next.js project structure.

public

Next.js serve static assets inside a folder called public in the root directory.

Files inside public can be referenced starting from the base url(/).

For example, if you want to reference /public/profile_img.png in your code,

you can do so by writing /profile_img.png as path.

app

Next.js introduced app router in version 13, which argues to offer improved route handling.

It will be unnecessary to get into details of app routing in this doc, since nexume only offers single page resume template.

You can explore more about app routing at App Router | Next.js

out

Next.js allow you to export static files by breaking a strict SPA into individual HTML files.

This allows you to deploy this project on any hosting platform that serve static HTML/CSS/JS files.

Broken down static assets are all stored inside out folder in the root directory.


Config

Some configurable options are stored inside nexume.config.ts in the root directory.

This config file is made to offer easier customization of some basic layout of the template.

Options

| name | type | default | description | |:----------- |:-------:|:------------------------------- |:--------------------------------------------- | | title | string | John Doe's resume | Title of the page. | | description | string | John Doe's resume using nexume. | Description metadata of the page. | | icon | string | /favicon.ico | Icon file path. | | images | string | /og_img.png | Meta img path. | | url | string | https://localhost:3000 | Public url. | | profileImg | string | /profile_img.png | Profile image file path. | | width | integer | 794 | Maximum width of the content. | | color | string | #845CF5 | Hex color code used as the basic theme color. |


License

MIT License © 2023-PRESENT, Nexume