Skip to content

Repository files navigation

KedoJS

KedoJS

Kedo is a fast Javascript runtime.

Kedo is in an experimental stage, lacks elementary functionality at this stage, and is not ready for production, the API is not stable and may change as they are developing.

Installation

brew install kedo

Usage

// myscript.js
const response = await Kedo.fetch(
  "https://jsonplaceholder.typicode.com/todos/1",
);

console.log(response.title);

Kedo.writeFileSync("todos.json", JSON.stringify(response));

const content = Kedo.readFileSync("./todos.json");

console.log(content);

setTimeout(() => {
  console.log("Hello from KedoJS!");
}, 1000);
kedo run myscript.js

TODO

Roadmap to v0.1.0

  • File System
    • readFile
    • readFileSync
    • writeFile
    • writeFileSync
    • readDir
    • readDirSync
    • stat
    • statSync
    • unlink
    • unlinkSync
    • mkdir
    • mkdirSync
  • Console API
  • HTTP Server
    • serve
  • Web API
    • Fetch
    • URL
    • URLSearchParams
    • Headers
    • Request
    • Response
  • OS
  • Timers
    • setTimeout
    • setInterval
    • clearInterval
    • clearTimeout
  • ES Modules
  • REPL
  • Buffer
  • Errors
  • Crypto
  • Process
  • Query String
  • Events
    • EventEmitter
    • TargetEvent
  • Streams
    • Readable
    • Writable
    • Duplex
    • Transform

About

Kedo Js is a javascript runtime build with rust

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages