Here you will find well-annotated samples to showcase how to build packages in N1.
- Each package is in its own folder. To try out a package, copy the folder
into
$HOME/.nylas/packages
, runapm install
, and restart N1. - The entry point of each package is the
activate
method oflib/main.cjsx
. Most packages do nothing but register themselves with theComponentRegistry
- Read the annotated source code of the package files.