npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@trickle/lec3d

v0.0.8

Published

easier three.js encapsulated by lec

Downloads

27

Readme

基于three.js进行封装, 用于快速高效地搭建3D场景的JS库

lec3d 是一个JS库,不限制开发框架

lec3d 内置 three.js, 避免版本兼容问题,无需再下载 three.js

lec3d 将内置的 three.js 的 API 完整暴露, 便于原有的 three.js 项目平稳升级

使用指南

npm i @trickle/lec3d

使用文档请参考: lec3d 官方文档 (开发+内测中...)

参与贡献

TODO...

开发

使用 npm run build:dev 开启打包热更新, 这样一来修改 /src 下的文件时, 就会自动更新 /dist 的内容

进入 /example, 这里有很多可以供你快速验证更新内容的样例项目, 选择其中你需要的进行自测验证即可

如果你要新建或调整 /example 中项目的依赖引入方式, 这里提供两种方案:

方案一

使用打包文件的相对路径, 如 import * as lec3d from '../../../dist/index.js'

方案二

使用第三方依赖 yalc 模拟 npm 包发布和安装, 相关命令如下:

根目录下, 模拟发布: yalc publish

根目录下, 模拟版本更新: yalc update

测试项目的根目录下, 模拟安装: yalc add @trickle/lec3d

提交

TODO: 补充提交相关细则

贡献者

由衷感谢所有人的积极贡献