generated from templates/typescript-types
readme
This commit is contained in:
parent
065a29f0cc
commit
2527241e25
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@js/types",
|
||||
"version": "0.1.0",
|
||||
"description": "Template project for creating new TypeScript type-definition-only packages",
|
||||
"description": "Collection of generic TypeScript type definitions for various utility purposes",
|
||||
"main": "src/index.d.ts",
|
||||
"types": "src/index.d.ts",
|
||||
"publishConfig": {
|
||||
@ -9,7 +9,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.jbrumond.me/js/typescript-types.git"
|
||||
"url": "https://gitea.jbrumond.me/js/types.git"
|
||||
},
|
||||
"author": "James Brumond <https://jbrumond.me>",
|
||||
"license": "ISC",
|
||||
|
20
readme.md
20
readme.md
@ -14,6 +14,7 @@ npm install --save-dev @js/types
|
||||
import {
|
||||
// Various identifier strings
|
||||
HttpURL,
|
||||
HttpURLSchemeless,
|
||||
UUID,
|
||||
SnowflakeID,
|
||||
|
||||
@ -24,5 +25,24 @@ import {
|
||||
// Pino-compatible logger interface
|
||||
Logger,
|
||||
LogFn,
|
||||
|
||||
// Function helpers
|
||||
Func,
|
||||
Params,
|
||||
FirstParam,
|
||||
NonFirstParams,
|
||||
WithoutFirstParam,
|
||||
|
||||
// Language / locale
|
||||
Locale,
|
||||
|
||||
// Date / time
|
||||
ISODate,
|
||||
ISOTime,
|
||||
ISOZoneOffset,
|
||||
ISOTimestamp,
|
||||
TimeShort,
|
||||
LocalDateTime,
|
||||
Timezone,
|
||||
} from '@js/types';
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user