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

iscp

v1.0.2

Published

一、安装webpack babel-cli:Babel附带了一个内置的CLI,可用于从命令行编译文件 babel-loader @babel/preset-env:编译最新版本JavaScript,是一系列插件的集合,包含了我们在babel6中常用的es2015,es2016, es2017等最新的语法转化插件,允许我们使用最新的js语法,比如 let,const,箭头函数等等,但不包括stage-x阶段的插件 @babel/core:作用是把 js 代码分析成 ast ,方便各个插件分析语法进行

Downloads

4

Readme

一、安装webpack babel-cli:Babel附带了一个内置的CLI,可用于从命令行编译文件 babel-loader @babel/preset-env:编译最新版本JavaScript,是一系列插件的集合,包含了我们在babel6中常用的es2015,es2016, es2017等最新的语法转化插件,允许我们使用最新的js语法,比如 let,const,箭头函数等等,但不包括stage-x阶段的插件 @babel/core:作用是把 js 代码分析成 ast ,方便各个插件分析语法进行相应的处理 @babel/plugin-proposal-decorators:插件会支持类的装饰器语法, 包括类装饰器, 属性装饰器, 方法装饰器 @babel/plugin-proposal-class-properties:主要作用是用来编译类的 ,编译 class @babel/plugin-transform-runtime -d:抽离babel的一些公共工具类用来减少代码的大小”, webpack ,webpack-cli :用于打包 webpack-merge: 用于合并打包文件,用来做生产环境和开发环境的不同打包配置 webpack.config-xxx,js的合并 clean-webpack-plugin: 用于清包操作,每次重新打包,都删除上一次生成的

二、命令 1、npm run build 生成iscp.js 该js可以在html中文件中通过方式映入 2、npm run lib 该命名生成lib目录,生成后的lib目录是为后期使用vue或者react等框架中使用,通过improt 方式引入 3、npm run doc 该命令对src文件夹下js文件下的注释生成文档

三、项目目录说明