zxy-gky-dateformat 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +0 -0
  2. package/package.json +13 -0
  3. package/readme.md +7 -0
package/index.js ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "zxy-gky-dateformat",
3
+ "version": "1.0.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC",
12
+ "type": "commonjs"
13
+ }
package/readme.md ADDED
@@ -0,0 +1,7 @@
1
+ 1. 安装包
2
+ npm install GkyDateFormat
3
+ 2. 导入包
4
+ const GkyDateFormat = require('GkyDateFormat')
5
+ 3. 使用包的时间格式化方法
6
+ const currentDate=new Date()
7
+ const formatDate=GkyDateFormat.dateFormat(currentDate)