rootsdev / gedcomx-fs-js

JavaScript library for FamilySearch extensions to the GEDCOM X spec.

Home Page:http://rootsdev.org/gedcomx-fs-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gedcomx-fs-js

npm Build Status codecov

JavaScript library for FamilySearch extensions to the GEDCOM X spec. Designed to be used with gedcomx-js.

Install

First install gedcomx-js.

NPM

npm install --save gedcomx-js gedcomx-fs-js

CDN via unpkg

<script src="https://unpkg.com/gedcomx-fs-js@1.3.0/dist/gedcomx-fs.min.js"></script>

In the browser, gedcomx-fs-js is attached to the window as a global named GedcomxFS.

Full Build

As of 1.3.1 we also publish a full build which includes gedcomx-js and thus doesn't require you to install or include it seperately and also doesn't require you to call GedcomX.addExtensions() as documented below.

Usage

// First load gedcomx-js. Then we register the FS extensions.
GedcomX.addExtensions(GedcomxFS);

About

JavaScript library for FamilySearch extensions to the GEDCOM X spec.

http://rootsdev.org/gedcomx-fs-js/

License:MIT License


Languages

Language:JavaScript 98.8%Language:Shell 1.2%