# lk-utils

> 工具包

Latest version **1.0.2** (published 2022-01-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install lk-utils
pnpm add lk-utils
yarn add lk-utils
bun add lk-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.2 |
| Published | 2022-01-14 |
| First published | 2022-01-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | luokuang |
| Maintainers | luokuang666 |

## Links

- npm: https://www.npmjs.com/package/lk-utils
- npm.io page: https://npm.io/package/lk-utils

## Recent versions

- 1.0.2 (latest) — 2022-01-14
- 1.0.1 — 2022-01-14
- 1.0.0 — 2022-01-14

## README

# lk-utils
工具包

```js
// 获取明日凌晨的时间戳
tomorrowZeroDate() 
```

```js
// 获取second秒之后的时间戳
nowSecondsLater(second)
```

```js
/*
* 通过传入唯一的key判断今天是否可以调用该方法，
* 如果可以调用返回true，如果传入callback则会执行callback方法，
* 如果不可以调用返回false，不调用callback方法
* */ 
allowCallMeToday(key, callback)
```

```js
encodeBase64()
```

```js
decodeBase64()
```

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