サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
どうなる?Twitter
www.npmjs.com
As you run Jest from within the terminal, a file called jest_html_reporters.html will be created within your root folder containing information about your tests. Available Options The options below are specific to the reporter. Option Name env variables name Type Default Description
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
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
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
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
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
This ESLint plugin provides a rule for validating that TypeScript doc comments conform to the TSDoc specification. Usage Configure ESLint for your TypeScript project. See the instructions provided by the typescript-eslint project. You will end up with some dependencies like this: my-project/package.json (example) { "name": "my-project", "version": "1.0.0", "dependencies": {}, "devDependencies": {
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 Uint8Array
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
The first step to optimising your webpack build speed, is to know where to focus your attention. This plugin measures your webpack build speed, giving an output like this: Install
eslint-plugin-react-hooks4.6.0 • Public • Published 6 months ago This ESLint plugin enforces the Rules of Hooks. It is a part of the Hooks API for React. Installation 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:
Looking for maintainers/contributors This project is looking for help! If you're interested in helping with the project please reach out to me ncb000gt and let me know. I'd love for it to continue on, but it needs a lot of attention. node-cron Cron is a tool that allows you to execute something on a schedule. This is typically done using the cron syntax. We allow you to execute a function whenever
encoding.js Convert or detect character encoding in JavaScript. README (Japanese) Table of contents Features How to use character encoding in strings? Installation npm TypeScript browser (standalone) CDN Supported encodings About UNICODE Example usage Demo API Detect character encoding (detect) Convert character encoding (convert) Specify conversion options to the argument to_encoding as an object
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
react-nipple A react wrapper for the nipplejs on-screen-joystick. Resources Github repository: https://github.com/loopmode/react-nipple NPM package: https://www.npmjs.com/package/react-nipple Docs: https://loopmode.github.io/react-nipple/ Installation
Linq-Collections: (IEnumerable, ...) + (List, Dictionary, ...) Strongly typed Linq implementation for Javascript and TypeScript (ES5, ES6, +) Includes collections (+ readonly versions): List, Dictionary, Stack, ... Under active development https://github.com/isc30/linq-collections This project is activelly being developed and improved by Ivan Sanz (isc30) Please expect some missing features until
This package has been deprecatedAuthor message: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details. Windows-Build-Tools On Windows? Want to compile native Node modules? Install the build tools with this one-liner. Start PowerShell as Administrator and run: npm install --global windows-build-tool
ESLint which works in browsers. 🏁 Goal ESLint doesn't support browsers officially, but we can use it similar to the official online demo. This package provides the Linter class which is modified to work in browsers. Eliminate the dependency to fs. Eliminate the dynamic require()s. This package is kept latest with cron jobs GitHub Actions provide. 💿 Installation Use npm to install. npm install es
Official documentation is hosted at fontawesome.com: Check it out here How to Help Review the following docs before diving in: CONTRIBUTING.md CODE_OF_CONDUCT.md And then: Check the existing issue and see if you can help! Contributors The following contributors have either helped to start this project, have contributed code, are actively maintaining it (including documentation), or in other ways b
Installation npm install fontello-sass --save-dev How to use First, create/select some icons on fontello.com and download the fonts. Let's assume your file structure is like this: |- styles.scss |- fonts/ |- fontello.eot |- fontello.woff2 |- fontello.woff |- fontello.ttf |- fontello.svg styles.scss $fontello-font-path : "./fonts"; $fontello-font-name : "fontello"; @import "~fontello-sass/fontello"
sanitize-html provides a simple HTML sanitizer with a clear API. sanitize-html is tolerant. It is well suited for cleaning up HTML fragments such as those created by CKEditor and other rich text editors. It is especially handy for removing unwanted CSS when copying and pasting from Word. sanitize-html allows you to specify the tags you want to permit, and the permitted attributes for each of those
The State of JavaScript Frameworks, 2017 Laurie Voss, co-founder and COO, npm, Inc. January 3rd, 2018 Part 2: The React Ecosystem Let’s examine the ecosystem of packages related to React. While Facebook builds React itself, many of these packages are from third parties within the open source community. These packages use React and supplement it with additional functionality to provide a full appli
The State of JavaScript Frameworks, 2017 Laurie Voss, co-founder and COO, npm, Inc. January 3rd, 2018 Part 3: Back-End Frameworks The story on the back end is simple: Express is the overwhelmingly dominant solution for back end services written in JavaScript. The next four biggest frameworks are so small relative to Express that it’s hard to even see them. The other clear pattern here is that Expr
hubot-broadlink-rm A hubot script to learn and send IR hex codes with Broadlink RM This allows you to control your RM Mini with Hubot, Slack, IFTTT, Google Home, and Amazon Echo. No global IP is neeeded When using with Slack, Hubot relays messages between Slack servers. So it is not necessary to use tunneling services such as ngrok. No programming is needed You can control your RM Mini via Slack m
次のページ
このページを最初にブックマークしてみませんか?
『npm | build amazing things』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く