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

node-aase

v1.3.11

Published

Node package for personal development

Downloads

24

Readme

Project description

Node package for personal development

Install

npm install node-aase

版本发布的常用命令

nrm use npm

npm whoami

npm version patch

npm publish

updated version

# 更新 a.b.c-d中的d
npm version prerelease

# 更新 a.b.c-d中的c
npm version prepatch

# 更新 a.b.c-d中的c,若想去掉-d,需要再次运行npm version patch
npm version patch

# 更新 a.b.c-d中的b
npm version minor
// # package.json 中的版本号1.0.0变为 1.0.1-0
// ➜ npm version prerelease
// v1.0.1-0
//
// # 再次执行 package.json 中的版本号1.0.1-0变为 1.0.1-1
// ➜ npm version prerelease
// v1.0.1-1
//
// # 如何手动修改,version为1.0.0-1,再次执行
// ➜ npm version prerelease
// v1.0.0-2

正式版本相关 patch

TIP记住:patch是小号。

原则:

// patch:如果有prerelease ,则去掉prerelease ,其他保持不变;
// 如果没有prerelease ,则升级minor,即是最小号。
// # package.json 中的版本号2.0.0-0变为 2.0.0;
// ➜ npm version patch
// v2.0.0

// # package.json 中的版本号2.0.0变为 2.0.1;
// # 再次执行npm version patch
// ➜ npm version patch
// v2.0.1

发布

npm publish

Usage

Table 导出为 Excel

Table 是 Html 的元素标签不是 el-table

引入

// 这里没有使用npm install的方式安装table2excel,是因为改动了一些代码的逻辑(合并单元格的样式)

import "node-aase/aasets/js/jq.3.2.1.js";

import "node-aase/aasets/js/jq.table2excel.js";

使用

$("#exportTable").table2excel({
    exclude: ".excludeThisClass",
    name: "Worksheet Name",
    filename: "SomeFile",
});

import {ang as qwe, dates as dfs} from "node-aase";
// >= v1.0.10

const {getFiles} = require("node-aase/getfile");

// or

const esa = require("node-aase/esa46");
// < v1.0.10
const aase = require("node-aase");

var enc = aase.enc_base64("AngeloBurt");
console.log(enc); // QW5nZWxvQnVydA==
var dec = aase.dec_base64("QW5nZWxvQnVydA==");
console.log(dec); // AngeloBurt

var clo_enc = aase.clo("QW5nZWxvQnVydA==", "enc");
console.log(clo_enc); // JD4mADceJmEbwZ==
var clo_dec = aase.clo("JD4mADceJmEbwZ==", "dec");
console.log(clo_dec); // QW5nZWxvQnVydA==

This is a simple package. There are still many imperfections.

Please give us your advice. I wish you all the best.

updated log

| 版本 | 内容 | 日期 | 备注 | |-----------|----------------------------|------------|---------------------------------------| | v1.3.8 | add _table.js | | 更新 TABLE 的高度计算 | | v1.3.7 | add _table.js | | 添加 TABLE 的高度计算 | | v1.3.6 | 3.1-3.6 | | 遭遇 npm publish 失败后的成功版本 | | v1.3.1 | 重构 && 调整目录 | | | | v1.2.2 | 添加 qs 库 | | 整合常用的代码块 | | v1.2.1 | 版本号更新 | | | | v1.1.19 | xlsx 的测试 | | | | v1.1.18 | 更新 date.js 文件 | | | | v1.1.15 | 更新 act.js 文件 | | | | v1.1.14 | 添加 date.js | | | | v1.0.16 | add Vue platform configure | | | | v1.1.62-3 | 使用引入的链接时浏览器报错的修复 | 2023-10-31 | 不再使用 module.exports 导出,直接使用 window 导出 |

更换仓库地址_2023_09_21_15_54_39