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

resume-lite

v1.2.1

Published

Generate professional resumes effortlessly using resume.js. Input your information, and our tool will create polished and customizable resumes in various formats. Perfect for developers, designers, and any job seekers looking to showcase their skills and

Downloads

23

Readme

Resume-Lite

Resume-Lite is a lightweight library designed for generating resumes in HTML format. With zero dependencies, it ensures minimal overhead and maximum simplicity. By taking structured data as input, this library produces clean and professional resumes in HTML, making it an ideal tool for developers looking to create customizable resume templates with ease.

Features

  • Lightweight: No external dependencies.
  • Easy to Use: Simple and intuitive API.
  • Customizable: Easily modify the HTML template to fit your needs.
  • Structured Data: Uses a clear schema for input data.

Templates

We are currently working on adding more templates

Usage

const testData: ResumeData = {
    personalInfo: {
        name: 'Jane Smith',
        email: '[email protected]',
        phone: '555-123-4567',
        address: '456 Elm Street, Metropolis, USA',
        summary:
            'Seasoned software engineer with over 10 years of experience in full-stack development, project management, and team leadership. Proven track record of delivering high-quality software solutions on time and within budget.',
        links: [
            { name: 'LinkedIn', url: 'https://linkedin.com/in/janesmith' },
            { name: 'GitHub', url: 'https://github.com/janesmith' },
            { name: 'Portfolio', url: 'https://janesmith.dev' },
        ],
    },
    workExperience: [
        {
            company: 'Global Tech Solutions',
            position: 'Lead Software Engineer',
            startDate: 'April 2018',
            endDate: 'Present',
            responsibilities: [
                'Leading a team of 10 developers in designing, developing, and maintaining enterprise-level software applications.',
                'Implementing agile methodologies to improve project delivery times and team productivity.',
                'Collaborating with stakeholders to define project requirements and deliverables.',
                'Mentoring junior developers and conducting code reviews to ensure coding standards and best practices.',
            ],
        },
        {
            company: 'Innovative Apps LLC',
            position: 'Senior Software Engineer',
            startDate: 'May 2014',
            endDate: 'March 2018',
            responsibilities: [
                'Developed and maintained mobile applications using React Native and Flutter.',
                'Implemented RESTful APIs with Node.js and Express.',
                'Worked closely with UX/UI designers to create intuitive and user-friendly interfaces.',
                'Optimized application performance and resolved complex technical issues.',
            ],
        },
        {
            company: 'Tech Innovators Inc.',
            position: 'Software Engineer',
            startDate: 'September 2010',
            endDate: 'May 2014',
            responsibilities: [
                'Developed web applications using JavaScript, HTML, and CSS.',
                'Integrated third-party APIs to enhance application functionality.',
                'Collaborated with cross-functional teams to ensure seamless integration of new features.',
                'Participated in code reviews and contributed to the development of coding standards.',
            ],
        },
    ],
    education: [
        {
            institution: 'Metropolis University',
            degree: 'Master of Science in Computer Science',
            endDate: '2010-06-30',
        },
        {
            institution: 'Metropolis University',
            degree: 'Bachelor of Science in Computer Science',
            startDate: '2004-09-01',
            endDate: '2008-06-30',
        },
    ],
    skills: [
        'JavaScript',
        'TypeScript',
        'React',
        'Node.js',
        'Python',
        'Django',
        'Java',
        'Spring Boot',
        'SQL',
        'NoSQL',
        'Docker',
        'Kubernetes',
        'AWS',
        'Azure',
        'Git',
        'Agile Methodologies',
        'Project Management',
        'Team Leadership',
    ],
    projects: [
        {
            title: 'E-commerce Platform',
            description: 'Developed a scalable e-commerce platform for small businesses.',
            responsibilities: [
                'Led the front-end development using React and Redux.',
                'Implemented the back-end API with Node.js and Express.',
                'Designed and managed the database schema using MongoDB.',
                'Deployed the application on AWS using Docker and Kubernetes.',
            ],
            website: 'https://ecommerceplatform.com',
            sourceCodeLink: 'https://github.com/janesmith/ecommerce-platform',
        },
        {
            title: 'Project Management Tool',
            description: 'Created a project management tool to improve team collaboration.',
            responsibilities: [
                'Designed the user interface with Angular and Material Design.',
                'Developed the server-side logic with Spring Boot and Java.',
                'Integrated real-time collaboration features using WebSockets.',
                'Implemented user authentication and authorization with OAuth2.',
            ],
            website: 'https://projectmanagementtool.com',
            sourceCodeLink: 'https://github.com/janesmith/project-management-tool',
        },
    ],
    certifications: [
        {
            name: 'Certified Scrum Master',
            dateAquired: '2016-05-01',
        },
        {
            name: 'AWS Certified Solutions Architect',
            dateAquired: '2017-11-01',
        },
        {
            name: 'Google Cloud Professional Data Engineer',
            dateAquired: '2018-08-01',
        },
    ],
    languages: [
        {
            name: 'English',
            proficiency: 'Native',
        },
        {
            name: 'Spanish',
            proficiency: 'Fluent',
        },
        {
            name: 'German',
            proficiency: 'Intermediate',
        },
    ],
    volunteerWork: [
        {
            name: 'Code for Good',
            startDate: '2019-01-01',
            description: 'Taught coding workshops to underprivileged youth.',
            endDate: '2020-12-31',
        },
        {
            name: 'Open Source Contributor',
            startDate: '2016-01-01',
            description:
                'Contributed to various open-source projects, focusing on bug fixes and feature enhancements.',
        },
    ],
};

Install the Package

npm i resume-lite

Implementation

import resume from 'resume-lite';
import { sampleData } from './sampleData';

function generateNewResume() {
    const html = resume.generate(stack, sampleData);
    console.log(html);
}

generateNewResume();

Conversion to PDF Example

We recommend using puppeteer for HTML to PDF conversion

import resume from 'resume-lite';
import puppeteer from 'puppeteer';

const html = resume.generate(template, testData);

//Launch new puppeteer page
const browser = await puppeteer.launch();
const page = await browser.newPage();

//Set page content to generated resume HTML
await page.setContent(html, { waitUntil: 'domcontentloaded', timeout: 0 });

//Get resume height
const height = await page.evaluate(() => document.documentElement.scrollHeight);

//Puppeteer built in PDF generator
const pdfBuffer = await page.pdf({
    width: '8.27in',   // A4 width in inches
    height,
    printBackground: true,
});

//Write file locally
fs.writeFileSync(`resume.pdf`, buffer);

await page.close();
await browser.close();