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

auno-cli

v0.0.2

Published

编写一个可以执行ts文件的node cli工具,使用tsup打包。方便用户快速创建一个ts node项目

Downloads

7

Readme

auno-cli

Static Badge Static Badge

项目介绍

快速创建一个ts node项目。使用tsup打包。方便用户快速创建一个ts node项目。用户打包可以生成js文件和ts声明文件d.ts。加入nodemon监听文件变化,自动更改后的执行文件。

未来加入不同的模版可以创建更多的项目。

使用方式

npx auno-cli create <projectName>

命令行工具直接执行此命令即可快速创建一个ts node项目

项目安装

cd projectName && npm install

自动编译

编写ts文件即可自动编译成js文件到dist目录下

npm run tsup-watch
or
yarn tsup-watch

项目便捷开发

每次更新生成后的dist/index.js文件,nodemon会自动监听文件变化,自动执行dist/index.js文件。运行以下命令即可开启nodemon监听

npm run start

项目打包

执行命令即可打包到ts文件到dist目录下,dist目录下会有js文件和d.ts文件

npm run build

未来开发计划

  • [ ] 脚手架加入测试模块

贡献

欢迎大家提出issue和pr,一起完善这个项目, 未来我想加入更多的--template选择,基于不同的模版更方便的创建不同的项目。

具体方式可以在issues里提出需求,然后提交你的pr来解决。或者直接提出需求,如果我认为合理,会开发出来,把工具做完善。

最后

如果你喜欢这个项目,欢迎给我点一个star