npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zoho-slyte/cli

v1.1.0

Published

Lyte CLI - a command line tool, used to create, build and manage an application in Lyte.

Downloads

17

Readme

Slyte CLI - a command line tool, used to create, build and manage an application in Lyte.

Installation

npm install -g @slyte/cli@<<version>>

Usage

Create a new project

lyte new my-app

This command will create a new directory called my-app with default lyte files and folders such as routes,components,build.js(build configuration file) and package.json(contains all the lyte dependencies)

Build - Compiles all the files and places them into the output folder

lyte build <<options>>

Options:

--production(string) - In production, js files (routes, models, components etc) will be concatenated and minified as per configurations provided by the user in configuration files provided inside build folder.

--development(string) - In development, js files will be only concatenated as per configurations provided by user in json file under build folder.

    Note : Default value is development.

--watch(string) - Watches the files for changes and automatically builds the application.

    Note : Default value is false.

Building of application is based on the procedures mentioned in build.js(build/build.js in the application directory, a procedure file for building application). where you can also write your own build procedures.

Run the development server

lyte serve

This will launch a development server and serves the built app at http://localhost:3000/ by default.Port can be changed using

lyte serve --port <<port_no>>

Generate - Will create required files with basic syntax.

lyte generate <<route|component|helper|mixin|connector|serializer|schema>> <<name>> 

For route generation, two optional parameters are possible lyte generate route << name >> << path >> , if not specified path will be generated based on the route name. While route generation, router.js will be updated.

lyte generate route <<route_name>> <<route_path>> 
lyte generate route blog /blog
lyte generate route blog.list /list //Will create a sub route inside blog route.
lyte generate route blog.view view/:blogId //A dynamic route 
lyte gnereate route blog.reviewed /blog?review=true //Default query param is passed. 

Specifying folders :

We can specify the folder using -d options, this is available for the all the modules except route.

lyte generate component <<component_name>>
lyte generate component blogger-comp -d blogFolder //We can also specify the folder.
lyte generate schema bloglist -d blogFolder //Which will create bloglist schema inside blogFolder.

Note : Component name should be hyphenated. It should not contain capital letters and special character except hyphen. Similarly Helper names should not be hyphenated.

Destroy - Will delete the files and folders created using lyte generate command.

lyte destroy <<route|component|helper|mixin>> <<name>>

If you have created a component inside a folder, it is mandated to specify the same during destroy as well for example:

lyte destroy component blogger-comp -d blogFolder