A minimalistic JavaScript library for toast notifications. Responsive, A11Y, dependency-free. Tiny (~3KB). Easy integration with React, Angular and Vue.
const initSqlJs = require('sql.js'); // or if you are in a browser: // const initSqlJs = window.initSqlJs; const SQL = await initSqlJs({ // Required to load the wasm binary asynchronously. Of course, you can host it wherever you want // You can omit locateFile completely when running in node locateFile: file => `https://sql.js.org/dist/${file}` }); // Create a database const db = new SQL.Database(
NLUX with ReactGenerative UI With Next.jsChatGPT-Inspired UI import { AiChat, useAsStreamAdapter } from '@nlux/react'; import '@nlux/themes/nova.css'; import { send } from './send'; import { user, assistantAvatar } from './personas'; export default () => { const adapter = useAsStreamAdapter(send, []); return ( <AiChat adapter={ adapter } personaOptions={{ assistant: { name: "EinAssistant", tagline
import { torch } from "js-pytorch"; const nn = torch.nn; class Transformer extends nn.Module { constructor(vocab_size, hidden_size, n_timesteps, n_heads, p) { super(); // Instantiate Transformer's Layers: this.embed = new nn.Embedding(vocab_size, hidden_size); this.pos_embed = new nn.PositionalEmbedding(n_timesteps, hidden_size); this.b1 = new nn.Block( hidden_size, hidden_size, n_heads, n_timeste
Danfo.js is fast and supports Tensorflow.js tensors out of the box. This means you can convert Danfo data structure to Tensors. Easy handling of missing-data (represented as NaN) in floating point as well as non-floating point data Size mutability: columns can be inserted/deleted from DataFrame Automatic and explicit alignment: objects can be explicitly aligned to a set of labels, or the user can
Essentia.js is a JavaScript (JS) library for music/audio signal analysis and processing developed at the Music Technology Group, UPF, Barcelona. The core of library is powered by Essentia C++ library back-end using WebAssembly built via Emscripten along with a high-level JS and TypeScript API and add-on utility modules. ie, You can run an extensive collection of music/audio processing and analysis
React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. Declarative views make your code more predictable and easier to debug. Build encapsulated components that manage their own state, then compose them to make complex UIs. Since component logic is writ
Does not support reading Indexed, CMYK, Multichannel, Duotone and LAB color modes (all supported color modes are converted to RGB mode when reading) Does not support writing any color modes other than RGB Does not support 16 bits per channel Does not support The Large Document Format (8BPB/PSB) Does not support color palettes Does not support animations Does not support patterns (or "Pattern Overl
discord.js (source) - A powerful Node.js module for interacting with the Discord API @discordjs/brokers (source) - A collection of brokers for use with discord.js @discordjs/builders (source) - A utility package for easily building Discord API payloads @discordjs/collection (source) - A powerful utility data structure @discordjs/core (source) - A thinly abstracted wrapper around the core component
Due to abuse of users with the Speech Synthesis API (ADS, Fake system warnings), Google decided to remove the usage of the API in the browser when it's not triggered by an user gesture (click, touch etc.). This means that calling for example artyom.say("Hello") if it's not wrapped inside an user event won't work. So on every page load, the user will need to click at least once time per page to all
A Drag-and-Drop library for all JavaScript frameworksDFlex is a JavaScript library for modern drag and drop applications. It is built with vanilla JavaScript and implements an enhanced transformation mechanism to manipulate DOM elements. DFlex is the only drag and drop library on the internet that manipulates the DOM instead of reconstructing it. It also has its own scheduler and reconciler.
はじめに 今までGoではgo getを使った共通Packageの管理はしていましたが、JavaScriptではしていませんでした。 しかし、フロント開発で同一デザイナーで同じデザインシステムを採用することとなったシステムを作ることなり、既存システムの資産を効率良く管理できないかと思いGitHub Pakcagesを使うことになったので同様のことを行う方の参考になればと思います。 この記事では、yanrとnpmの両方を使った方法を説明させて頂きます。 GitHub Packagesとは 従来はnpm install などでinstallできるようにJava script libraryの管理にはnpmjs.comにアカウントを作成しnpmjs.comでlibraryを管理していたが、それらが全てGitHubで完結できるようになった。 なので、npmjs.comのアカウント作成とは不要になり、
Solid is a reactive JavaScript library for creating user interfaces without a virtual DOM. It compiles templates down to real DOM nodes once and wraps updates in fine-grained reactions so that when state updates, only the related code runs. This way, the compiler can optimize initial render and the runtime optimizes updates. This focus on performance makes it one of the top-rated JavaScript framew
AWS Open Source Blog Creating simple AWS Cost and Usage charts with D3 JavaScript library Web applications interacting with AWS in a number of ways may need to represent and display sets of information in the form of charts, diagrams, or graphs. Common examples of that information includes small amounts of data coming from AWS Costs & Usage Reports or Amazon Elastic Compute Cloud (Amazon EC2), eit
Simple HTML Tokenizer is a lightweight JavaScript library that can be used to tokenize the kind of HTML normally found in templates. It can be used to preprocess templates to change the behavior of some template element depending upon whether the template element was found in an attribute or text. It is not a full HTML5 tokenizer. It focuses on the kind of HTML that is used in templates: content d
Search Engine Land » SEO » Google’s Lighthouse is now recommending JavaScript library alternates Google’s Lighthouse is now recommending JavaScript library alternates Lighthouse now serves as a beacon for warning you when your project includes old libraries that have modern alternatives. Using the notion of a lighthouse as a metaphor, Google Lighthouse steers developers away from the rocks by shin
Popular JavaScript library starts showing ads in its terminal Developer comes up with a new method of funding open-source projects. Community reaction not entirely favorable. Standard, a JavaScript style guide, linter, and automatic code fixer, has implemented what appears to be the first advertising system for JavaScript libraries. Starting with last week, when developers install the library via
A utility to parse editorjs clean data to HTML. Use it with plain Javascript/Typescript, React, Angular, Vue or any templating engine/framework of your choice. Fast, Efficient and Lightweight. Fully customizable to the core. Supports basic editorjs blocks which are customizable as well. Extendable for any new or custom editorjs blocks. [Note] As of recent release, editorjs v2.10 a read-only mode a
A collection of JavaScript libraries, resources and shiny things. Package Managers Host the JavaScript libraries and provide tools for fetching and packaging them. npm - npm is the package manager for JavaScript. Bower - A package manager for the web. component - Client package management for building better web applications. spm - Brand new static package manager. jam - A package manager using a
Getting Startednpm i colordimport { colord } from "colord"; colord("#ff0000").grayscale().toRgbString(); colord("rgb(192, 192, 192)").isLight(); colord("hsl(0, 50%, 50%)").darken(0.25).toHex(); 📦 SmallJust 1.7 KB gzipped (3x+ lighter than color and tinycolor2)💨 Dependency-freeFast CI and no vulnerability risks🚀 Fast3x+ faster than color and tinycolor2😍 SimpleChainable API and familiar patterns
Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStam
(Read this article on the blog)Publishing a library Back then when I wanted to write and publish a JavaScript library, all I had to do is to create a new GitHub project, write a package.json with some basic details, add an index.js, and publish to NPM via the CLI. But this simple setup misses a lot of new things that are considered essentials: no types, no CI/CD, no tests, to name a few. So the la
04 November 2018 Similar to Webpack or Browserify, Rollup is a module bundler for JavaScript. It allows us to use the modern ES module system and transform it into another module system: CommonJS, AMD, the UMD. It can also bundle our module and wrap it inside the IIFE (Immediately-Invoked Function Expression). Though people usually use Rollup to bundle a library. It’s possible to bundle an applica
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く