Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@kano/code
Advanced tools
import { Editor } from '@kano/code/index.js';
const editor = new Editor({ sourceType: 'blockly' });
editor.inject(document.body);
This project is going under a transition to TypeScript. The TypeScript compiler is setup to allow JavaScript files. If you are about to create a new file, create a TypeScript file instead of a JavaScript file. If you are about to make a lot of changes to a file, if possible, move it to TypeScript.
Install dependencies
yarn
yarn tsc --watch
In a separate terminal
yarn serve
Browse the directories under examples
to run the editor.
While writing tests, run
yarn serve-test
And open the prompted URL to run your tests. You can click on a suite to only run that suite.
Documentation is hosted at https://code-docs.kano.me. The website infrastructure is deployed using terraform. To update the infrastructure, change the files under terraform
and run:
cd terraform
terraform init
terraform apply
The documentation is deployed by jenkins and scoped to the version in package.json
FAQs
## The Repository
The npm package @kano/code receives a total of 254 weekly downloads. As such, @kano/code popularity was classified as not popular.
We found that @kano/code demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.