A JS library for creating JS libraries