Coder Social home page Coder Social logo

mikeybob / cfworker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cfworker/cfworker

0.0 0.0 0.0 1.63 MB

A collection of packages optimized for Cloudflare Workers and service workers.

Home Page: https://cfworker.dev

License: MIT License

Shell 0.04% JavaScript 28.06% TypeScript 71.91%

cfworker's Introduction

cfworker

Release

A collection of packages optimized for Cloudflare Workers and service workers.

@cfworker/base64url

base64 URL encoding for Cloudflare Workers and service workers

readme | npm

@cfworker/cosmos

Azure Cosmos DB client for Cloudflare Workers and service workers

readme | npm

@cfworker/csv

Streaming CSV encoding for Cloudflare Workers and service workers

readme | npm

@cfworker/dev

Run, test and deploy Cloudflare workers

readme | npm

@cfworker/json-schema

A JSON schema validator that will run on Cloudflare workers. Supports drafts 4, 7, 2019-09, and 2020-12.

readme | npm

@cfworker/jwt

Tiny lib for decoding JWTs and verifying signatures, using native crypto APIs

readme | npm

@cfworker/sentry

Minimalist Sentry client for Cloudflare workers and service workers

readme | npm

@cfworker/uuid

Serialize/deserialize V4 UUIDs from a Uint8Array

readme | npm

@cfworker/web

Web framework for Cloudflare Workers and service workers, inspired by Koa and fastify

readme | npm

contributing

Install dependencies using npm. Npm workspaces will ensure cfworker packages that depend on other cfworker packages are linked properly.

npm install

Run all tests

npm test

Run a specific package's tests

npm run test --workspace=@cfworker/base64url

Watch files for changes and re-run tests

npm run test --watch --workspace=@cfworker/base64url

Use chrome devtools to debug tests

npm run test --watch --inspect --workspace=@cfworker/base64url

Refer to each package's README for more specific instructions and examples. Some packages require a .env file (gitignored) containing cloudflare or cosmos db keys for integration testing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.