diff --git a/package.json b/package.json index 6ccfe8a..21a93c2 100644 --- a/package.json +++ b/package.json @@ -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 ", "license": "ISC", diff --git a/readme.md b/readme.md index f1f4f9c..7f78dcc 100644 --- a/readme.md +++ b/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'; ```