nytimes/kyt is one of the open-source repositories TopGit tracks, currently at 1.9k stars, written primarily in JavaScript. Starting a new JS app? Build, test and run advanced apps with kyt 🔥
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
This project is still used internally at the new york times but has long been deprecated. Please don't expect any support or documented releases going forward.
Every sizable JavaScript web app needs a common foundation: a setup to build, run, test and lint your code. kyt is a toolkit that encapsulates and manages the configuration for web apps.
Read more about kyt in our blog post.
Quick Start
Install Node.js (v14.0+ required). On Mac, this is as simple as:
brew install nvm
nvm use
yarn add kyt
yarn kyt setup - This will set up your project with application and configuration files so that you can get started with kyt. Learn more about setup.
yarn dev
Check out http://localhost:3000
Features
Isomorphic rendering of JavaScript apps
Client and server hot-reloading in dev
Babel presets for general ES6 support and React
ESLint configuration and custom rules
Jest presets for running unit tests and CSS-in-JS linting
Optional client-only and server-only modes
Ability to override Webpack configuration from kyt.config.js
How it Works
kyt manages configuration for all aspects of development. It can be installed as a dependency into a new or existing project. kyt’s goal is to encapsulate only development tools, giving users the freedom to control their source directory and make important decisions about app architecture. kyt provides a command line interface for running all development tools.
Developers design their own architecture, choosing the tools they need for rendering, styling, and handling data.
For advanced use cases, kyt enables developers to add additional tools and configuration.
See our config override instructions for details, and our recipes for examples.
Setting up a kyt project
kyt setup is a utility for bootstrapping kyt projects and installing starter-kyts. It can be run to create a new project or integrate kyt with an existing project.
See the kyt documentation for more details.
Command line
kyt includes a command line program with all the commands needed for development.
Running kyt setup includes these commands as scripts in your package.json:
yarn dev
Or you can run a command using yarn kyt {command}:
yarn kyt build
Here are the available commands:
dev starts a development environment
build compiles server and client code for production use
(Note that server/index.js is not required if hasServer is false in config).(Note that client/index.js is not required if hasClient is false in config).
If you're setting up a new project see our full list of conventions.
Configuration
kyt allows you to specify options in a kyt.config.js file.
See the kyt config docs for instructions.
kyt uses Webpack to compile src code.
See our recipes for extending configuration.
kyt respects Babel config files defined at the root of user projects, and provides presets to provide opinionated configurations. (If no Babel config file is defined in the user project, babel-preset-kyt-core is used when compiling Webpack.)
starter-kyts
While kyt can be easily integrated into new or existing Node projects, it is even more powerful when used with a starter-kyt. A starter-kyt offers the benefits of a boilerplate while minimizing the amount of new tools to learn and maintain.
The kyt setup command installs any preconfigured starter-kyt git repository, adding additional dependencies and building a source directory.
How to build a starter-kyt
See additional info on how to build a starter-kyt.
TopGit's metadata for nytimes/kyt does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is nytimes/kyt?
nytimes/kyt (nytimes/kyt) is a JavaScript project on GitHub. From the project's own README: Starting a new JS app? Build, test and run advanced apps with kyt 🔥
Where can I see nytimes/kyt in action?
The project maintains a homepage at https://open.nytimes.com/introducing-kyt-our-web-app-configuration-toolkit-9ccddf6f6988. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about nytimes/kyt?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/nytimes/kyt is the definitive source.
Read full README in the tab above.
Want a second opinion on kyt?
Ask an AI that can read this page — one click and you get its take on kyt.