Gathering detailed insights and metrics for babel-preset-kyt-core
Gathering detailed insights and metrics for babel-preset-kyt-core
Gathering detailed insights and metrics for babel-preset-kyt-core
Gathering detailed insights and metrics for babel-preset-kyt-core
npm install babel-preset-kyt-core
kyt-starter-universal-src@2.0.6
Published on 03 Jun 2024
kyt-starter-server-src@1.2.10
Published on 03 Jun 2024
kyt@1.2.9
Published on 03 Jun 2024
kyt-starter-static-src@2.0.6
Published on 03 Jun 2024
kyt-runtime@1.2.49
Published on 30 May 2024
kyt-starter-universal@2.0.2
Published on 30 May 2024
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,920 Stars
859 Commits
110 Forks
31 Watching
30 Branches
69 Contributors
Updated on 28 Nov 2024
JavaScript (99.38%)
EJS (0.37%)
SCSS (0.22%)
Shell (0.03%)
Cumulative downloads
Total Downloads
Last day
-51.8%
1,015
Compared to previous day
Last week
-20.7%
7,594
Compared to previous week
Last month
-29.9%
26,300
Compared to previous month
Last year
147.4%
352,754
Compared to previous year
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.
1brew install nvm 2nvm 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
http://localhost:3000
kyt.config.js
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.
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.
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 environmentbuild
compiles server and client code for production usehelp
shows commands and their documentationSee our CLI docs for further details.
kyt
follows a few simple conventions.
All projects must have the following structure:
src/
client/
index.js
polyfills.js
server/
index.js
polyfills.js
Each index.js
file acts as the build entry.
(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.
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-kyt
sWhile 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.
starter-kyt
See additional info on how to build a starter-kyt
.
kyt
Want to help? See details here
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 9/21 approved changesets -- score normalized to 4
Reason
4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
58 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-07-15
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More