lib: move to npm