Skip to content

Commit ff79752

Browse files
committed
Release version 1.3.0
1 parent 1dbb173 commit ff79752

4 files changed

Lines changed: 18 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v1.3.0 (14 Dec 2018)
2+
3+
* Add openFile
4+
* Add typescript support
5+
16
## v1.2.0 (10 Nov 2018)
27

38
* Add isPrime

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
Useful utility collection with zero dependencies.
1616

1717
To check all current available functions, click
18-
[here](http://eustia.liriliri.io/module.html).
18+
[here](https://eustia.liriliri.io/module.html).
1919

2020
## Another Lodash?
2121

2222
No. The goal of Licia is to provide a huge number of useful and small JavaScript codes, not just functions, but also modules and classes. Think of it as a mini version of npm suitable for tiny packages.
2323

2424
## Usage
2525

26-
It is recommended to use the official bundler [eustia](http://eustia.liriliri.io/) to easily build a customized utility library for your project. But if you don't like it, just install **licia** and use it like any other npm utility modules such as lodash.
26+
It is recommended to use the official bundler [eustia](https://eustia.liriliri.io/) to easily build a customized utility library for your project. But if you don't like it, just install **licia** and use it like any other npm utility modules such as lodash.
2727

2828
```bash
2929
npm i licia --save
@@ -35,20 +35,22 @@ var uuid = require('licia/uuid');
3535
console.log(uuid()); // -> 0e3b84af-f911-4a55-b78a-cedf6f0bd815
3636
```
3737

38-
There is also an online tool to build a customized utility library, check [here](http://eustia.liriliri.io/builder.html).
38+
There is also an online tool to build a customized utility library, check [here](https://eustia.liriliri.io/builder.html).
3939

4040
## Submitting New Modules
4141

4242
Unable to find one suitable? Fork it on GitHub, add the module and submit a pull
4343
request.
4444

45-
Please check [Eustia Documentation](http://eustia.liriliri.io/docs.html#create-module)
45+
Please check [Eustia Documentation](https://eustia.liriliri.io/docs.html#create-module)
4646
about how to write an eustia module.
4747

4848
### Rules
4949

5050
* Must have full documentation about usage.
5151
* Must have test.
52+
* Must have typescript definition.
53+
* Must specify running environment, node, browser or all.
5254
* Must named with **a-zA-Z0-9$** characters only.
5355
* Must not be repeated. (e.g. leftPad is not allowed because there is already a
5456
module called lpad)

README_CN.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Eustia官方模块
1414

1515
Licia是一套在开发中实践积累起来的实用JavaScript工具库。该库目前拥有超过180个模块,包括Dom操作,cookie设置,类创建,模板函数,日期格式化等实用模块,同时配套有打包工具Eustia进行定制化,使JS脚本加载量缩减在10KB以下,极大优化移动端页面的加载速度。
1616

17-
目前拥有的所有模块可[点此](http://eustia.liriliri.io/module_cn.html)查看。
17+
目前拥有的所有模块可[点此](https://eustia.liriliri.io/module_cn.html)查看。
1818

1919
## 开发背景
2020

@@ -24,7 +24,7 @@ Licia从一开始就不是为了单纯地替代underscore或lodash而生。它
2424

2525
## 使用方法
2626

27-
推荐使用官方打包工具[eustia](http://eustia.liriliri.io/)针对项目定制工具库按需引入。当然安装**licia**模块然后直接引用也是可以的。
27+
推荐使用官方打包工具[eustia](https://eustia.liriliri.io/)针对项目定制工具库按需引入。当然安装**licia**模块然后直接引用也是可以的。
2828

2929
```bash
3030
npm i licia --save
@@ -36,20 +36,22 @@ var uuid = require('licia/uuid');
3636
console.log(uuid()); // -> 0e3b84af-f911-4a55-b78a-cedf6f0bd815
3737
```
3838

39-
你也可以直接使用在线工具进行自定义工具库的生成,请[点此](http://eustia.liriliri.io/builder.html)查看使用。
39+
你也可以直接使用在线工具进行自定义工具库的生成,请[点此](https://eustia.liriliri.io/builder.html)查看使用。
4040

4141
## 提交新模块
4242

4343
在无法找到所需模块的情况下,你可以发起issue建议或者自己添加模块合并到该项目中去。
4444

45-
关于如何编写模块,请查看[Eustia文档](http://eustia.liriliri.io/docs.html#create-module)中的相关说明。
45+
关于如何编写模块,请查看[Eustia文档](https://eustia.liriliri.io/docs.html#create-module)中的相关说明。
4646

4747
### 基本原则
4848

4949
每个模块都必须满足以下几点要求:
5050

5151
* 必须有详细的使用说明文档(英文,格式参考其它已有模块)。
5252
* 必须有单元测试。
53+
* 必须有 typescript 定义。
54+
* 必须指明运行环境,node,浏览器或全部。
5355
* 模块名只能包含**a-zA-Z0-9$**等字符。
5456
* 不能存在功能高度相似的模块,例如不能添加leftPad模块因为已经有模块lpad了。
5557
* 模块可以依赖其它模块,但所有代码都必须写在一个文件,不能超过500行,包括使用说明和空行。

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "licia",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "Useful utility collection with zero dependencies",
55
"bin": {
66
"licia": "./bin/licia.js"

0 commit comments

Comments
 (0)