123 Repositories
JavaScript function-schema Libraries
Multithread emulator. The wrun allows you to dynamically run a function inside a Web Worker on the client side, without the needing of a dedicated file
wrun This lib allows you to dynamically run a function inside a Web Worker on the client side, without the needing of a dedicated file. This means tha
validation-first schema library with a functional api
zap ⚡ zap is a validation-first schema library with a functional Api. Some major features are Flexible refinement and validation API Transformation, C
A simple in-memory key-value cache for function execution, allowing both sync and async operations using the same methods
A simple in-memory key-value cache for function execution, allowing both sync and async operations using the same methods. It provides an invalidation mechanism based both on exact string and regex.
A lightweight function that executes callback when we see specific DOM elements.
did-i-see A lightweight function that executes callback when we see specific DOM elements. Built with IntersectionObserver. 🔴 Demo: https://did-i-see
Zod utilities for Remix loaders and actions.
Zodix Zodix is a collection of Zod utilities for Remix loaders and actions. It abstracts the complexity of parsing and validating FormData and URLSear
Opinionated collection of TypeScript definitions and utilities for Deno and Deno Deploy. With complete types for Deno/NPM/TS config files, constructed from official JSON schemas.
Schemas Note: You can also import any type from the default module, ./mod.ts deno.json import { type DenoJson } from "https://deno.land/x/[email protected]
A simple in-memory time-based cache for both objects and function execution.
What is this? A simple in-memory time-based cache for both objects and function execution. How do I install it? You can install it by using the follow
A lambda function mirroring Pixiv bookmarks to Raindrop.io
pixiv-to-raindrop A lambda function that executes automated mirroring of bookmarks from Pixiv to Raindrop.io Demo Source: https://www.pixiv.net/users/
Themis is a validation and processing library that helps you always make sure your data is correct.
Dataffy Themis - The advanced validation library Themis is a validation and processing library that helps you always make sure your data is correct. ·
🖼️ Tiny JSX helper function for high-DPI (Retina Display) images.
img-srcx Tiny JSX helper function for high-DPI (Retina Display) images. 394 bytes minified and gzipped for ESM (830 bytes for ES5). Installation npm i
A JavaScript Library that allows you to execute function when a certain element gets added to the document
wait-for-it.js A JavaScript Library that allows you to execute function when a certain element gets added to the document Getting Started If you want
100% type-safe query builder for node-postgres :: Generated types, call any function, tree-shakable, implicit type casts, and more
⚠️ This library is currently in alpha. Contributors wanted! tusken Postgres client from a galaxy far, far away. your database is the source-of-truth f
Server desenvolvido para a aplicação web da NLW RocketSeat Ignite.
Back-end - servidor RocketSeat Trilha ignite Neste projeto foi criado uma página web que se comunica com um servidor. O servidor contém todos os dados
Merge multiple Prisma schema files, model inheritance, resolving name conflicts and timings reports, all in a simple tool.
Prisma Util What is Prisma Util? • How to use? • The configuration file • Support What is Prisma Util? Prisma Util is an easy to use tool that merges
Allows you to build fetcher function by URL at compile-time.
fetch.macro Allows you to build fetcher function by URL at compile-time. Usage Simply install and configure babel-plugin-macros and then use fetch.mac
Competidaily Generator lambda function to retrieve a random theme from our database.
Competidaily Generator backend - GET RANDOM THEME This repo contains the GET requisition used as a lambda function to retrieve a random theme from the
Vanilla javascript (ES6) function enabling drag scrolling on desktop
Drag-n-scroll also on desktop devices, by LCweb No dependencies vanilla javascript function to easily implement a nice drag-to-scroll effect using dse
a jQuery plugin to provid multiple-select function through 2 List-Boxes
bala.DualSelectList bala.DualSelectList is a jQuery plugin to provid multiple-select function through 2 List-Boxes. Demo page: Single Element: https:/
Hadmean is an internal tool generator. It is language agnostic, schema driven, extremely customizable, featured packed, user-friendly and has just one installation step.
Hadmean Report a Bug · Request a Feature · Ask a Question Table of Contents About Quick Demo Motivation Why you should try Hadmean Getting Started Pre
Validate your Markdown frontmatter data against a JSON schema — remark-lint rule plugin
remark-lint-frontmatter-schema Validate Markdown frontmatter YAML against an associated JSON schema with this remark-lint rule plugin. Supports: Types
AWS Lambda & Serverless - Developer Guide with Hands-on Labs. Develop thousands line of aws lambda functions interact to aws serverless services with real-world hands-on labs
AWS Lambda & Serverless - Developer Guide with Hands-on Labs UDEMY COURSE WITH DISCOUNTED - Step by Step Development of this Repository - https://www
Very tiny function that checks if an object/array/value is shaped like another, with TypeScript type refining.
@suchipi/has-shape Very tiny (~200B before minification/compression) function that checks if an object/array/value is shaped like another, with TypeSc
MerLoc is a live AWS Lambda function development and debugging tool. MerLoc allows you to run AWS Lambda functions on your local while they are still part of a flow in the AWS cloud remote.
MerLoc MerLoc is a live AWS Lambda function development and debugging tool. MerLoc allows you to run AWS Lambda functions on your local while they are
A crash course on Zod - a schema validation library for TypeScript
Zod Crash Course This Zod crash course will give you everything you ever needed to know about Zod - an amazing library for building type-safe AND runt
A maybe slightly safer-ish wrapper around eval Function constructors
evalish A maybe slightly safer-ish wrapper around eval Function constructors Please maybe try something else first.. Please. evalish is a small helper
Allows users to quickly search highlighted items on Wikipedia. Inspired by the "search Wikipedia" function on the kindle mobile app.
wikipedia-search Allows users to quickly search highlighted items on Wikipedia. Inspired by the "search Wikipedia" function on the kindle mobile app.
A serverless function that auto commits your daily total time tracked on Wakatime to Github.
A serverless function that auto commits your daily total time tracked on Wakatime to Github. Using Netlify Scheduled Functions, Github GraphQL API, and Wakatime API.
🦕 An opposite function of nullish coalescing operator
unnullish unnullish returns undefined if value is nullish, otherwise it executes callback and returns the result. It is an opposite function of the nu
Build Schema.org graphs for JavaScript Runtimes (Browser, Node, etc). Improve your sites SEO with quick and easy Rich Results.
schema-org-graph-js The quickest and easiest way to build Schema.org graphs for JavaScript Runtimes (Browser, Node, etc). Status: 🔨 In Development Pl
A powerful simple JavaScript function-like toolset.
PrueEval PureEval 因 VoxelGeometry 项目而生,意在打造一个精巧而强大的 JavaScript 函数式工具包。 PureEval 具有以下特点: 具有独特的非变量绑定式 iterate 策略。 支持对任意参数已知函数函数的柯里化。 体积小、代码精简,嵌入成本极低。 Us
Build forms from JSON Schema. Easily template-able. Compatible with Bootstrap 3 out of the box.
JSON Form The JSON Form library is a JavaScript client-side library that takes a structured data model defined using JSON Schema as input and returns
Wrap a function with bun-livereload to automatically reload any imports inside the function the next time it is called
bun-livereload Wrap a function with bun-livereload to automatically reload any imports inside the function the next time it is called. import liveRelo
A movie schema sandbox for playing with EdgeDB and the EdgeQL query builder, pre-loaded with MCU data
The EdgeDB MCU sandbox 🦹 This is a sandbox for playing with EdgeDB and the EdgeQL query builder. It includes a simple movie database schema (dbschema
Convert a CSS linear gradient function to expo-linear-gradient props
@bacons/css-to-expo-linear-gradient Demo: snack Convert a CSS linear gradient function to expo-linear-gradient props. Add the package to your npm depe
Tries to execute sync/async function, returns a specified default value if the function throws
good-try Tries to execute sync/async function, returns a specified default value if the function throws. Why Why not nice-try with it's 70+ million do
A maybe slightly safer-ish wrapper around eval Function constructors
evalish A maybe slightly safer-ish wrapper around eval Function constructors Please maybe try something else first.. Please. evalish is a small helper
🦠🔬 Forta agent that detect deployment of smart contracts containing an exploit function
Attack Simulation Bot Description The agent detects deployment of smart contracts containing an exploit function. Using a simulation-based approach, t
Snippets for securing, transforming, and optimizing GraphQL APIs.
StepZen Snippets Welcome! StepZen is a unique and declarative way to build & run any-sized Graph in minutes. Explore the docs View Demo Report Bug Req
a babel plugin that can transform generator function to state machine, which is a ported version of typescript generator transform
Babel Plugin Lite Regenerator intro This babel plugin is a ported version of TypeScript generator transform. It can transform async and generator func
Single function to create, manage, compose variants, for any CSS-in-JS libraries.
Build-variants Single function to create, manage, compose variants, for any CSS-in-JS libraries. Motivation Before diving into the implementation deta
Waypoints is a library that makes it easy to execute a function whenever you scroll to an element.
Waypoints Waypoints is a library that makes it easy to execute a function whenever you scroll to an element. var waypoint = new Waypoint({ element:
Schema validation utilities for h3, using typebox & ajv
h3-typebox JSON schema validation for h3, using typebox & ajv. Install # Using npm npm install h3-typebox # Using yarn yarn install h3-typebox # Usi
Browser storage interface for IndexedDB, WebSQL, LocalStorage, and in memory data with Schema and data validator.
Client Web Storage Browser storage interface for IndexedDB, WebSQL, LocalStorage, and in memory data with basic Schema and data validation. Installati
TypeScript-first schema validation for h3 and Nuxt applications
h3-zod Validate h3 and Nuxt 3 requests using zod schema's. Install npm install h3-zod Usage import { createServer } from 'http' import { createApp } f
Default Description set by probot/settings
sanity-typed-schema-builder Build Sanity schemas declaratively and get typescript types of schema values for free! Typescript types for Sanity Values!
serverless plugin to setup custom domain for lambdas deployed with function url.
serverless-aws-function-url-custom-domain Automatically creates AWS CloudFront distribution and Route 53 records to AWS Lambda with Function URL (no a
A quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM deffiniation and appropriate file structure.
Welcome to function-stencil 👋 A quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM
A simple C++ function parser/tagger based on tree-sitter
What the func?! - A simple C++ function parser/tagger This project implements a simple C++ function parser, what-the-func, based on the tree-sitter C+
Runtime type checking in pure javascript.
Install npm install function-schema Usage import { signature } from 'function-schema'; const myFunction = signature(...ParamTypeChecks)(ReturnValueCh
RenderIf is a function that receives a validation as a parameter, and if that validation is true, the content passed as children will be displayed. Try it!
RenderIf RenderIf is a function that receives a validation as a parameter, and if that validation is true, the content passed as children will be disp
Prisma 2+ generator to emit Zod schemas from your Prisma schema
Prisma Zod Generator Automatically generate Zod schemas from your Prisma Schema, and use them to validate your API endpoints or any other use you have
Prisma +2 generator to emit a tRPC shield from your Prisma schema
Prisma tRPC Shield Generator Automatically generate a tRPC Shield from your Prisma Schema. Updates every time npx prisma generate runs. Table of Conte
A library that generates OpenAPI (Swagger) docs from Zod schemas
Zod to OpenAPI A library that uses zod schemas to generate an Open API Swagger documentation. Purpose and quick example Usage Installation The openapi
A Tauri update server, hosted as a Cloudflare edge function
Tauri Update Server: Cloudflare One-Click Deploy Click the button above, let Cloudflare walk you through: it's easy! Go to your forked repository, edi
A tiny isomorphic fast function for generating a cryptographically random hex string.
ZeptoID A tiny isomorphic fast function for generating a cryptographically random hex string. Accoding to this calculator one would have to generate i
Color palette generation function using hue cycling and simple easing functions.
Rampensau 🐷 Color palette generation function using hue cycling and easing functions. Check out a simple demo or see it in action over on farbvelo 10
Color palette text parser to a function, compatible with GMT, GDAL, GRASS, PostGIS, ArcGIS
cpt2js Color palette text parser to a function, input compatible with GMT, GDAL, GRASS, PostGIS, ArcGIS Demo From GDAL docs: The text-based color conf
A utility for generating Solidity code for recovering signatures using the EIP-712 signTypedData schema.
EIP 712 Codegen EIP 712: Sign Typed Data as of 2022 is the most human-readable way of getting signatures from user that are easily parsed into solidit
Automatically convert those LESS file which is not using less function to CSS.
less-2-css Automatically convert those .less file which is not using less function to .css. Why Less is a powerful CSS pre-processor, but it also very
Prisma 2+ generator to emit Joi schemas from your Prisma schema
Prisma Joi Generator Automatically generate Joi schemas from your Prisma Schema, and use them to validate your API endpoints or any other use you have
An example of a schema-based form system for React.
React Advanced Form An example of a schema-based form system in React. Define your schema, and pass it into the form. Supports basic conditional schem
Prisma +2 generator to emit Yup schemas from your Prisma schema
Prisma Yup Generator Automatically generate Yup schemas from your Prisma Schema, and use them to validate your API endpoints or any other use you have
A simple JavaScript function patcher.
spitroast A very simple JavaScript monkeypatcher library that inserts your code in both ends. Usage // ESM import * as spitroast from 'spitroast'; //
Cloudflare worker function to update github bio automatically with leetcode and codeforces profile stats 🚀
Stats check 🔢 Cloudflare worker function to update github bio automatically with leetcode and codeforces profile stats 🚀 You can see it in action he
A plugin that provides utilities for animation property.
tailwindcss-animation-property A plugin that provides utilities for animation property. Not only does the plugin provide the usual animation propertie
CLI utility that parses argv, loads your specified file, and passes the parsed argv into your file's exported function. Supports ESM/TypeScript/etc out of the box.
cleffa CLI tool that: Parses argv into an object (of command-line flags) and an array of positional arguments Loads a function from the specified file
Mirrors the functionality of Apollo client's useQuery hook, but with a "query" being any async function rather than GQL statement.
useAsyncQuery Mirrors the functionality of Apollo client's useQuery hook, but with a "query" being any async function rather than GQL statement. Usage
A simple CLI to generate a starter schema for keystone-6 from a pre-existing prisma schema.
Prisma2Keystone A tool for converting prisma schema to keystone schema typescript This is a proof of concept. More work is needed Usage npx prisma2key
typescript-to-jsonschema generates JSON Schema files from your Typescript sources.
fast-typescript-to-jsonschema English | 简体中文 a tool generate json schema from typescript. Feature compile Typescript to get all type information conve
startupDB is an Express middleware function implementing a high-performance in-memory database
startupDB startupDB is a database designed to create REST APIs. It is implemented as an Express middleware function and allows for easy implementation
Cloud function to generate basic icons, splash screens, and favicons.
Example: https://icogen.vercel.app/api/icon?color=white&padding=300&icon_id=1f1f1-1f1fa Can be used in Expo apps via app.json: { "expo": { "icon
Convert JSON examples into JSON schema (supports Swagger 2, OpenAPI 3 and 3.1)
json-to-json-schema Convert JSON examples into JSON schema. Supports JSON Schema draft-05 used in Swagger 2.0 and OpenAPI 3.0 and new draft draft-2020
🦕. A type-check utility function to indicating that the code is unreachable
unreachable A type-check utility function to indicating that the code is unreachable. Usage For example, the following code passed type checking. impo
Inside-out promise; lets you call resolve and reject from outside the Promise constructor function.
Inside-out promise; lets you call resolve and reject from outside the Promise constructor function.
Defines the communication layer between mobile native(iOS/Android) and webview using JSON Schema and automatically generates SDK code
Defines the communication layer between mobile native(iOS/Android) and webview using JSON Schema and automatically generates SDK code.
API routes are great for APIs, but for small projects where you have to access server data or hide application logic, you can just call a server function from the client.
API routes are great for APIs, but for small projects where you have to access server data or hide application logic, you can just call a server function from the client.
SiJago - GraphQL Client for Browser and Node.js
SiJago is GraphQL Client for Browser and Node.js, You can write request GraphQL schema using JavaScript Object Style, Why i create this tools, Because for reducing typo when writing GraphQL schema using HTTP client like Axios, Fetch or GraphQL client using Apollo and also to simplify calling the GraphQL schema easy to understand for human.
Create a C# .NET core EntityFramework ORM from your schema.prisma file
A note of forewarning to the would-be user... This was a failure. I'm making a note here: huge regret. It's hard to overstate my dissatisfaction. 🍰 S
In game dev, generative art, and creative coding, sine is a ubiquitous function that is often used as a spring-like oscillator for a given parameter.
In game dev, generative art, and creative coding, sine is a ubiquitous function that is often used as a spring-like oscillator for a given parameter.
Validate graphql operations against a schema
@graphql-validate With the power of GraphQL-Tools and GraphQL-JS, we are able to provide a smooth experience for validation your GraphQL operations du
Some process handle JavaScript function parameter.
Function parameter handle or paremeter error control Example 1: Just checking if all arguments were passed / defined. const required = (name) = {
Logs the output, time, arguments, and stacktrace of any function when it's called in a gorgeous way.
Function.prototype.log Logs the output, time, arguments, and stacktrace of any function when it's called. How to use: Like this: function yourFunction
Validate directory structure and file contents with an extension of JSON schema.
directory-schema-validator Description Validate directory structure and file contents with an extension of JSON schema. Install Install using NPM or s
Avoid use of dangerouslySetInnerHTML with this lightweight (2KB) function.
Avoid use of dangerouslySetInnerHTML with this lightweight (2KB) function. Can parse HTML strings into VDom trees, ready to render in your Preact components
A Sequelize web builder interface. To make your own sequelize schema
A Sequelize web builder interface. To make your own sequelize schema
A simple Todo App with check complete function and filter todo. Made with React and TypeScript.
A simple Todo App with check complete function and filter todo. Made with React and TypeScript. The app can Add, Delete and Edit todo. Todo can be sorted by Complete or Active.
Interactive 3D plotting with a simple function call using Three.js
About Generate interactive 3d plots with a simple function call. Function returns a Three.js scene which can be customized as needed. Basic function c
A data-binding function for the DOM.
Alert: this library is now deprecated. s2 is its successor. It implements what simulacra does in a better way (using Proxy), and more. Simulacra.js Si
Aergo Timer Service schedule smart contract function calls
Aergo Timer Service ⏰ Create timers to call functions on your smart contracts Schedule calls based on time interval or on specific date-times For a sm
A JavaScript function to convert a number into words
Number to Words by Nicholas C. Zakas If you find this useful, please consider supporting my work with a donation. Description A function that accepts
Simple-load-more - This jQuery function will add a functionality to load 5 (or custom) more items. No AJAX functionality.
Simple Load More This jQuery plugin will add a functionality to load 5 (or custom) more items. Best for lists that are long and you want to hide all e
A template repository / quick start to build Azure Static Web Apps with a Node.js function. It uses Vue.js v3, Vue Router, Vuex, and Vite.js.
Azure Static Web App Template with Node.js API This is a template repository for creating Azure Static Web Apps that comes pre-configured with: Vue.js
Renders and SVG schema of SARS-CoV-2 clade as defined by Neststrain
ncov-clade-schema https://ncov-clades-schema.vercel.app/ Visualizes current tree of SARS-CoV-2 clades. Allows to generate an SVG image of this tree. C
This simple project, show how work with async Fetch, function component and class component
Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np
This is an VanillaJS SPA example with function based rendering.
Function-Based-Rendering This is an VanillaJS SPA example with function based rendering. Here's how to create Views by function composition and how to
An adapter where you can define which function to run
Switch Functions An adapter where you can define which function to run Installation This is a Node.js module available through the npm registry. Befor
HTTP Client for Visual Studio Code to POST JSON, XML, image, ... files to REST APIs
friflo POST Goal Main goal of this extension is storing all HTTP request & response data automatically as files in a VSCode workspace. This ensures th
Validate for XML schema and returns all the possible failures
detailed-xml-validator Validate for XML schema and returns all the possible failures Sample Rules file ?xml version = "1.0"? students nillable="fa
use this to replace redux,you can use useActions to change context value and useActions return a mutable function collection
English | 中文 NOTE react-context-mutation is a lighter and more convenient state manager designed for react applications. It aims to replace the Redux
A URL shortener website and PWA build with vercel serverless cloud function, MongoDB and nodeJS
❤️ lenk.cf A URL shortner made using NodeJS, MongoDB and Vercel serverless function. This project also includes a serverless API. With the help of thi