サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
今年の「#文学」
www.npmjs.com
yagisan-reports は Webブラウザ および Node.js で動作する帳票エンジンです。JIS第四水準漢字(JIS X 0213:2004、JIS2004)対応の他、縦書き、複雑な表組み、可変行明細の出力、改ページ制御等の日本語帳票に必要な機能が揃っています。
Cloudflare workers import { optimizeImage } from 'wasm-image-optimization'; Next.js(Webpack) import { optimizeImage } from 'wasm-image-optimization/next'; ESM(import base) import { optimizeImage } from 'wasm-image-optimization/esm'; CJS(file base) import { optimizeImage } from 'wasm-image-optimization/node'; function // quality: 1-100 optimizeImage({image: ArrayBuffer, width?: number, height?:numb
@githubnext/github-copilot-cli0.1.36 • Public • Published 8 months ago GitHub Copilot CLI A CLI experience for letting GitHub Copilot help you on the command line. NOTE: GitHub Copilot CLI is in technical preview. Expect rough corners and poorly supported platforms. To get access to GitHub Copilot CLI, sign up on the waitlist. GitHub Copilot CLI translates natural language into shell commands, wit
TypeScript Execute (tsx): The easiest way to run TypeScript in Node.js Super fast! TypeScript REPL Supports tsconfig.json paths Works in both CommonJS and ESM packages [!TIP] Build your TypeScript projects? Try pkgroll—the zero-config package bundler used by tsx! pkgroll is a thin Rollup wrapper that makes it so simple for your package to support CommonJS, ESM, & TypeScript. If you love tsx, you'l
Jest reporter English | 简体中文 Jest test results processor for generating a summary in HTML Example page https://hazyzh.github.io/report.html Installation # yarn yarn add jest-html-reporters --dev # npm npm install jest-html-reporters --save-dev Usage Configure Jest to process the test results by adding the following entry to the Jest config (jest.config.json):
The typical use case for this high speed Node-API module is to convert large images in common formats to smaller, web-friendly JPEG, PNG, WebP, GIF and AVIF images of varying dimensions. It can be used with all JavaScript runtimes that provide support for Node-API v9, including Node.js (^18.17.0 or >= 20.3.0), Deno and Bun. Resizing an image is typically 4x-5x faster than using the quickest ImageM
Testing >> Semantic Dom Diff ||40 semantic-dom-diff allows diffing chunks of dom or HTML for semantic equality: whitespace and newlines are normalized tags and attributes are printed on individual lines comments are removed style, script and SVG contents are removed tags, attributes or element's light dom can be ignored through configuration Manual Setup Chai Plugin While semantic-dom-diff can be
petite-vue is an alternative distribution of Vue optimized for progressive enhancement. It provides the same template syntax and reactivity mental model as standard Vue. However, it is specifically optimized for "sprinkling" a small amount of interactions on an existing HTML page rendered by a server framework. See more details on how it differs from standard Vue. Only ~6kb Vue-compatible template
Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList, columnList and convert it back to SQL. support multiple sql statement seperate by semicolon support select, delete, update and insert type support drop, truncate and rename command output the table and column list that the sql visited with the corresponding authority support various databases engine
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/css/pretty-print-json.css> ... <script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/pretty-print-json.min.js></script> The minified JS file is 2 KB. For dark mode, replace pretty-print-json.css with pretty-print-json.dark-mode.css in the <link> tag. Or to automatically sense dark mode based on the pref
patch-package lets app authors instantly make and keep fixes to npm dependencies. It's a vital band-aid for those of us living on the bleeding edge. # fix a bug in one of your dependencies vim node_modules/some-package/brokenFile.js # run patch-package to create a .patch file npx patch-package some-package # commit the patch file to share the fix with your team git add patches/some-package+3.14.15
A small library for turning RSS XML feeds into JavaScript objects. Installation Usage You can parse RSS from a URL (parser.parseURL) or an XML string (parser.parseString). Both callbacks and Promises are supported. NodeJS Here's an example in NodeJS using Promises with async/await: let Parser = require('rss-parser'); let parser = new Parser(); (async () => { let feed = await parser.parseURL('https
URI.js About Understanding URIs Documentation jQuery URI Plugin Author Changelog IMPORTANT: You may not need URI.js anymore! Modern browsers provide the URL and URLSearchParams interfaces. NOTE: The npm package name changed to urijs I always want to shoot myself in the head when looking at code like the following: var url = "http://example.org/foo?bar=baz"; var separator = url.indexOf('?') > -1 ?
react-linkify React component to parse links (urls, emails, etc.) in text into clickable links Examples Live examples are available at http://tasti.github.io/react-linkify/. Basic Any link that appears inside the Linkify component will become clickable. <Linkify>See examples at tasti.github.io/react-linkify/.</Linkify> Renders to: See examples at tasti.github.io/react-linkify/. Advanced If you're
A simple node module(with TypeScript declarations) for scraping Open Graph and Twitter Card and other metadata off a site. Note: open-graph-scraper doesn't support browser usage at this time but you can use open-graph-scraper-lite if you already have the HTML and can't use Node's Fetch API. const ogs = require('open-graph-scraper'); const options = { url: 'http://ogp.me/' }; ogs(options) .then((da
Platform Adapter for React Native This package provides a TensorFlow.js platform adapter for react native. It provides GPU accelerated execution of TensorFlow.js supporting all major modes of tfjs usage, include: Support for both model inference and training GPU support with WebGL via expo-gl. Support for loading models pretrained models (tfjs-models) from the web. IOHandlers to support loading mo
Use this to load modules whose location is specified in the paths section of tsconfig.json or jsconfig.json. Both loading at run-time and via API are supported. Typescript by default mimics the Node.js runtime resolution strategy of modules. But it also allows the use of path mapping which allows arbitrary module paths (that doesn't start with "/" or ".") to be specified and mapped to physical pat
Markdown to PDF A simple and hackable CLI tool for converting markdown to pdf. It uses Marked to convert markdown to html and Puppeteer (headless Chromium) to further convert the html to pdf. It also uses highlight.js for code highlighting. The whole source code of this tool is only ~250 lines of JS ~500 lines of Typescript and ~100 lines of CSS, so it is easy to clone and customize. Highlights: C
Publish your own packages to the world's most popular software ecosystem
Usage Please be aware that the API is not yet stable and is subject to change any time. Creating a Bundle: import * as fs from 'fs'; import * as wbn from 'wbn'; const builder = new wbn.BundleBuilder(); builder.addExchange( 'https://example.com/', // URL 200, // response code { 'Content-Type': 'text/html' }, // response headers '<html>Hello, Web Bundle!</html>' // response body (string or Uint8Arra
TypeScript language service plugin to check ESLint errors. Features Report ESLint errors as TypeScript semantic diagnostics Create code-fix for ESLint errors if they have fixer Usage Requirements (peer dependencies) typescript @typescript-eslint/parser >= 5.0.0 eslint >= 8.0.0 Install
he he (for “HTML entities”) is a robust HTML entity encoder/decoder written in JavaScript. It supports all standardized named character references as per HTML, handles ambiguous ampersands and other edge cases just like a browser would, has an extensive test suite, and — contrary to many other JavaScript solutions — he handles astral Unicode symbols just fine. An online demo is available. Installa
Check for outdated, incorrect, and unused dependencies. Features Tells you what's out of date. Provides a link to the package's documentation so you can decide if you want the update. Kindly informs you if a dependency is not being used in your code. Works on your globally installed packages too, via -g. Interactive Update for less typing and fewer typos, via -u. Supports public and private @scope
Note: If you're using Create React App, please use react-scripts >= 3 instead of adding it directly. Assuming you already have ESLint installed, run:
cron is a robust tool for running jobs (functions or commands) on schedules defined using the cron syntax. Perfect for tasks like data backups, notifications, and many more! execute a function whenever your scheduled job triggers execute a job external to the javascript process (like a system command) using child_process use a Date or Luxon DateTime object instead of cron syntax as the trigger for
Geolib Library to provide basic geospatial operations like distance calculation, conversion of decimal coordinates to sexagesimal and vice versa, etc. This library is currently 2D, meaning that altitude/elevation is not yet supported by any of its functions! Changelog A detailed changelog can be found in CHANGELOG.md Install
encoding.js is a JavaScript library for converting and detecting character encodings, supporting both Japanese character encodings (Shift_JIS, EUC-JP, ISO-2022-JP) and Unicode formats (UTF-8, UTF-16). Since JavaScript string values are internally encoded as UTF-16 code units (ref: ECMAScript® 2019 Language Specification - 6.1.4 The String Type), they cannot directly handle other character encoding
novel-builder.js 篠宮樹里「絵子よ、Web小説の執筆を補助するツールをNode.jsで作ってみたぞ」 瀬尾絵子「何でもJavaScriptでやりたいんだねー……」 Description このツールは、次のような方々を主なターゲットとして開発しています。 小説もNode.jsプロジェクトとして執筆(開発)したい! 開発で使い慣れたエディタ(VSCode等)を執筆にも使いたい! 原稿はMarkdown形式で書きたい! node.jsやnpmに抵抗がない。むしろ好き! 下記のような執筆補助機能を提供してします。 小説の原稿を各種小説投稿サイト向けの原稿に変換する機能 電書協 EPUB 3 制作ガイドに準拠したEPUBを作成する機能 小説をPNG画像で出力する機能 行頭に全角スペースを挿入する等の校正機能 レポート出力機能 また、本ツールは開発途中のため、予告なく仕様の変更が行わ
Small utility that I wrote to script converting a JS codebase to TypeScript, while trying to solve some of the common TypeScript errors that will be received upon such a conversion. The utility performs the following transformations: Renames .js files to .ts Adds property declarations to ES6 classes so that they are compilable by the TypeScript compiler (see below). Any function calls that provide
次のページ
このページを最初にブックマークしてみませんか?
『npm | build amazing things』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く