This is a maintained fork of cannon.js, originally created by Stefan Hedman @schteppe. It's a type-safe flatbundle (esm and cjs) which allows for tree shaking and usage in modern environments. These minor changes and improvements were also made: These PRs from the original repo were merged: schteppe/cannon.js#433, schteppe/cannon.js#430, schteppe/cannon.js#418, schteppe/cannon.js#360, schteppe/can
Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus). Features: disables body scroll WITHOUT disabling scroll of a target element works on iOS mobile/tablet (!!) works on Android works on Safari desktop works on Chrome/Firefox works with vanilla JS and frameworks such as
💥 Breaking Changes This version is largely compatible with v5 except for a few subtle differences: Stricter Typings TypeScript types have been completely re-generated and work for all packages. There are likely subtle differences between v5 types where the new types are much more exact. Also, we have removed the use of PIXI global namespace in typings. If you were previously using that you'll nee
Introducing Env: a better way to read environment variables in JavaScript Reading environment variables in JavaScript is fraught with peril. Env makes it better. If you write server-side JavaScript, chances are you’ve need to read information from environment variables. It’s considered a best practice to share sensitive information, such as access tokens, inside of environment variables to keep th
// pages/api/user/[id].ts import type { NextApiRequest, NextApiResponse } from "next"; import { createRouter, expressWrapper } from "next-connect"; import cors from "cors"; const router = createRouter<NextApiRequest, NextApiResponse>(); router // Use express middleware in next-connect with expressWrapper function .use(expressWrapper(passport.session())) // A middleware example .use(async (req, res
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く