Files
NativeScript/image-source

The way we get local path here is different for now. Maybe we should get it from FS module in the future samples. Sample code Android:

var ImageSource = require("image-source").ImageSource;
var source = ImageSource.imageFromResource('foxie');