summit/frontend/node_modules/three-stdlib
mula.liu eb63677c25 0.0.9 2025-12-09 00:31:30 +08:00
..
_polyfill 0.0.9 2025-12-09 00:31:30 +08:00
animation 0.0.9 2025-12-09 00:31:30 +08:00
cameras 0.0.9 2025-12-09 00:31:30 +08:00
controls 0.0.9 2025-12-09 00:31:30 +08:00
csm 0.0.9 2025-12-09 00:31:30 +08:00
curves 0.0.9 2025-12-09 00:31:30 +08:00
deprecated 0.0.9 2025-12-09 00:31:30 +08:00
effects 0.0.9 2025-12-09 00:31:30 +08:00
environments 0.0.9 2025-12-09 00:31:30 +08:00
exporters 0.0.9 2025-12-09 00:31:30 +08:00
geometries 0.0.9 2025-12-09 00:31:30 +08:00
helpers 0.0.9 2025-12-09 00:31:30 +08:00
interactive 0.0.9 2025-12-09 00:31:30 +08:00
libs 0.0.9 2025-12-09 00:31:30 +08:00
lights 0.0.9 2025-12-09 00:31:30 +08:00
lines 0.0.9 2025-12-09 00:31:30 +08:00
loaders 0.0.9 2025-12-09 00:31:30 +08:00
math 0.0.9 2025-12-09 00:31:30 +08:00
misc 0.0.9 2025-12-09 00:31:30 +08:00
modifiers 0.0.9 2025-12-09 00:31:30 +08:00
node_modules/potpack 0.0.9 2025-12-09 00:31:30 +08:00
objects 0.0.9 2025-12-09 00:31:30 +08:00
physics 0.0.9 2025-12-09 00:31:30 +08:00
postprocessing 0.0.9 2025-12-09 00:31:30 +08:00
renderers 0.0.9 2025-12-09 00:31:30 +08:00
shaders 0.0.9 2025-12-09 00:31:30 +08:00
textures 0.0.9 2025-12-09 00:31:30 +08:00
types 0.0.9 2025-12-09 00:31:30 +08:00
utils 0.0.9 2025-12-09 00:31:30 +08:00
webxr 0.0.9 2025-12-09 00:31:30 +08:00
LICENSE 0.0.9 2025-12-09 00:31:30 +08:00
README.md 0.0.9 2025-12-09 00:31:30 +08:00
index.cjs 0.0.9 2025-12-09 00:31:30 +08:00
index.cjs.map 0.0.9 2025-12-09 00:31:30 +08:00
index.d.ts 0.0.9 2025-12-09 00:31:30 +08:00
index.js 0.0.9 2025-12-09 00:31:30 +08:00
index.js.map 0.0.9 2025-12-09 00:31:30 +08:00
package.json 0.0.9 2025-12-09 00:31:30 +08:00

README.md

three-stdlib

Version Downloads Twitter Discord release

Stand-alone version of threejs/examples/jsm written in Typescript & built for ESM & CJS.

Basic usage

npm install three-stdlib
// Export collection
import * as STDLIB from 'three-stdlib'
// Flatbundle
import { OrbitControls, ... } from 'three-stdlib'

Problem

three/examples are usually regarded as something that you copy/paste into your project and adapt to your needs. That's not how people use it, and this has caused numerous issues in the past.

Solution

  • A build system for ESM and CJS, compatible with browser, workers, and Node
  • Class based, optimized for tree-shaking, no globals, exports instead of collections
  • Typesafety with simple annotation-like types
  • SemVer and NPM managed dependencies

But most importantly, allowing more people that use and rely on these primitives to hold a little stake, and to share the weight of maintaining it.

How to Contribute

  1. Fork and clone the repo
  2. Run yarn install to install dependencies
  3. Create a branch for your PR with `git checkout -b pr-type/issue-number-your-branch-name beta
  4. Let's get cooking! 👨🏻‍🍳🥓

Commit Guidelines

Be sure your commit messages follow this specification: https://conventionalcommits.org/en/v1.0.0-beta.4

Publishing

We use semantic-release-action to deploy the package. Because of this only certain commits will trigger the action of creating a release:

  • chore will not release a new version
  • fix: will create a 0.0.x version
  • feat: will create a 0.x.0 version
  • BREAKING CHANGE: will create a x.0.0 version