• Stars
    star
    129
  • Rank 279,262 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Simple NodeJs library to parse Resume / CV to JSON.

Resume Parser

A Simple NodeJs library to parse Resume / CV to JSON.

This library parse through CVs / Resumes in the word (.doc or .docx) / RTF / TXT / PDF / HTML format to extract the necessary information in a predefined JSON format. If the CVs / Resumes contain any social media profile links then the solution should also parse the public social profile web-pages and organize the data in JSON format (e.g. Linkedin public profile, Github, etc.)

Installation

npm install resume-parser --save

Usage

const ResumeParser = require('resume-parser');

// From file to file
ResumeParser
  .parseResumeFile('./files/resume.doc', './files/compiled') // input file, output dir
  .then(file => {
    console.log("Yay! " + file);
  })
  .catch(error => {
    console.error(error);
  });

// From URL
ResumeParser
  .parseResumeUrl('http://www.mysite.com/resume.txt') // url
  .then(data => {
    console.log('Yay! ', data);
  })
  .catch(error => {
    console.error(error);
  });

At this moment application will work fine, but! By default it supports only .TXT and .HTML text formats. For better performance you should install at least support of .PDF (and .DOC). Here is instructions, how to do it from textract README file:

  • PDF extraction requires pdftotext be installed, link
  • DOC extraction requires catdoc be installed, link, unless on OSX in which case textutil (installed by default) is used.
  • DOCX extraction requires unzip be available (e.g. sudo apt-get install unzip for Ubuntu)

Extending

All 'action' are by building src/dictionary.js file. For now it has only basics rules, but it's very flexible (although a bit complicated) and extensible. Just put your rule according to existing and following main principles and enjoy!

Contributions

Many thanks to Alexey Lizurchik for this amazing library. https://github.com/likerRr/code4goal-resume-parser

More Repositories

1

angular-soundmanager2

SoundManager2 Music Player for AngularJs
JavaScript
172
star
2

yii2-dropzone

DropzoneJs Extention for Yii2
PHP
51
star
3

nodejs-pagination-demo

NodeJs Pagination Demo
JavaScript
18
star
4

yii2-sir-trevor-js

Sir Trevor Editor for Yii2
PHP
8
star
5

kickoff-gatsbyjs

A react starting point using GatsbyJS
JavaScript
6
star
6

chrome-crop-screen-capture

Crop and Screen Capture Extension for Chrome
JavaScript
6
star
7

angular-cordova

Angular Cordova sample start poing application
JavaScript
5
star
8

feathersjs-react-js

A boilerplate built on top of FeathersJs and ReactJs
JavaScript
4
star
9

webonise.co.uk

Official source code of webonise.co.uk
JavaScript
3
star
10

kato

Kato CMS
PHP
3
star
11

kickoff-nextjs-fullstack

Kickoff for Apollo NextJs Graphql Server
JavaScript
3
star
12

kickoff-apollo-server

A very lean boilerplate for setting up GraphQL server.
JavaScript
3
star
13

kanban_app

App made using WebPacks and ReactJs
JavaScript
3
star
14

yii2-getid3

getID3 Extention for Yii2
PHP
2
star
15

white-bold-react-native

White Bold React Native Theme
JavaScript
2
star
16

androidRockPaperScissors

Android RockPaperScissors demo game
Java
2
star
17

kickoff-meteor

Meteor project to be used as starting point
JavaScript
1
star
18

kickoff-nextjs

Starting point for NextJs with Sanity as API
JavaScript
1
star
19

kickoff-adminbro

Admin Panel for Mongoose MongoDB using AdminBro
JavaScript
1
star
20

yii-paypal

Paypal Extention for Yii Framework
PHP
1
star
21

music-app

NodeJS Music App to work with iMp3Songs API
JavaScript
1
star
22

yii2-pickadate

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
PHP
1
star
23

react-vscode-extension-pack

A collection of extensions for working with ReactJs Applications in VS Code
1
star
24

kickoff-parceljs

A starting point using ReactJs, bundled with awesome ParcelJs.
JavaScript
1
star
25

kickoff-keystonejs

A minimalistic admin panel using KeystoneJs.
JavaScript
1
star
26

sanity-gatsby-portfolio

Portfolio with Gatsby
JavaScript
1
star
27

cms-core

YepTap CMS - Based on Yii Framework
JavaScript
1
star