Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 1.15 KB

README.md

File metadata and controls

44 lines (24 loc) · 1.15 KB

ICGC-Geocoder

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

Library to interact with the ICGC pelias geocoder

Using types

Using flow provides a way to check for common syntax errors while calling functions. Flow provides a simple example of which kind of problems it can solve in their Type Annotations guide. There's also a list of annotations it supports there.

Folder structure

scipts: Contains the built scripts, ready to use, generated by the "build" command in package.json (unflow).

src: Contains the source files that compound the package.

flow-typed: Contains flow types definitions used i nthe project

Prepare environment

npm install

Working flow: STEPS

1.Create and develop your scripts in the src folder.

  1. Once you've finished run:
npm run build

  1. The scripts (ready to execute), will be created in the scripts folder.

Example:

npm run run:example