🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

gedcom

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gedcom

a simple and readable gedcom parser

latest
Source
npmnpm
Version
3.0.9
Version published
Weekly downloads
161
-21.84%
Maintainers
1
Weekly downloads
 
Created
Source

gedcom

A small, simple parser for GEDCOM 5.5.1.

API Documentation

Installation

The gedcom package can be added as a dependency to use in your code, or if you'd like to just use the CLI, install it globallly:

npm install -g gedcom

CLI

Usage
$ gedcom <input>
	Options
	  --type, -s   Output type (json, d3.json, dot)
	Examples
	  $ gedcom input.ged output.json

Caveats

  • The GEDCOM specification allows use of an ANSEL character encoding - a nearly-unknown predecessor to UTF-8. This parser doesn't currently handle ANSEL encoding, so it may behave oddly with files in ANSEL. However, it appears that most programs that export GEDCOM default to or at least support UTF-8, which is recommended instead.
  • The GEDCOM standard is ubiquitous and practical, but has embedded cultural biases. This parser allows "non-standard" input in places where GEDCOM is bigoted, like the SEX_VALUE field.

Keywords

gedcom

FAQs

Package last updated on 14 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts