# sage-utils

> common js

Latest version **1.0.3** (published 2022-11-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install sage-utils
pnpm add sage-utils
yarn add sage-utils
bun add sage-utils
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-11-30 |
| First published | 2022-11-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | luxianming |
| Keywords | react, utils |

## Links

- npm: https://www.npmjs.com/package/sage-utils
- Repository: https://github.com/Tet-cvm/sage-utils
- Homepage: https://github.com/Tet-cvm/sage-utils#readme
- Issues: https://github.com/Tet-cvm/sage-utils/issues
- npm.io page: https://npm.io/package/sage-utils

## Dependencies (1)

- [webpack-cli](https://npm.io/package/webpack-cli.md) ^5.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2022-11-30
- 1.0.2 — 2022-11-29
- 1.0.1 — 2022-11-28

## README

## Install
```bash
$ npm install sage-utils

$ yarn add sage-utils
```

```javascript
import { name, age, sex, welcome } from 'sage-utils';

console.log(name('lxm'))
console.log(age(12))
console.log(sex('male'))
welcome();

import lunar from 'sage-utils/dist/lunar';

lunar()


// 日历 - 阴历节气
import Calendar from 'sage-utils/dist/calendar';

const calen = new Calendar();
const year = calen._getYear(); // 获取当前年
const month = calen._getMonth(); // 获取当前月
const current = calen._initial(); // 初始化当前月份数据
const appoint = calen._library(2019, 10); // 初始化指定年月数据

```

## Classify
src/usual 常用函数  
src/usage 备用函数  
src/weird 其他函数/类

---
_Source: https://npm.io/package/sage-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
