support integers and null values
Update index.js
Merge pull request #2 from colonyamerican/feature/fn-dataModel

Feature/fn data model