@mymonolib/utils 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.
@@ -0,0 +1 @@
1
+ export default function formatTime(): string;
@@ -0,0 +1 @@
1
+ "use strict";function t(){return new Date().toLocaleString()}module.exports=t;
package/dist/my-lib.js ADDED
@@ -0,0 +1,6 @@
1
+ function t() {
2
+ return (/* @__PURE__ */ new Date()).toLocaleString();
3
+ }
4
+ export {
5
+ t as default
6
+ };
@@ -0,0 +1 @@
1
+ (function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis<"u"?globalThis:e||self,e.MyLib=n())})(this,function(){"use strict";function e(){return new Date().toLocaleString()}return e});
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@mymonolib/utils",
3
+ "version": "1.0.1",
4
+ "description": "",
5
+ "type": "module",
6
+ "main": "./dist/my-lib.cjs",
7
+ "module": "./dist/my-lib.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/my-lib.js",
12
+ "require": "./dist/my-lib.cjs",
13
+ "types": "./dist/index.d.ts"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "package.json"
19
+ ],
20
+ "keywords": [
21
+ "coderqsh",
22
+ "utils"
23
+ ],
24
+ "author": "coderqsh",
25
+ "license": "ISC",
26
+ "publishConfig": {
27
+ "access": "public",
28
+ "registry": "https://registry.npmjs.org/"
29
+ },
30
+ "scripts": {
31
+ "build": "vite build"
32
+ }
33
+ }