js

@js/types (0.1.0)

Published 2023-08-21 03:16:50 +00:00 by drone in js/types

Installation

@js:registry=
npm install @js/types@0.1.0
"@js/types": "0.1.0"

About this package

Collection of general-purpose type definitions

# Update project npm config to refer to correct registry for the @js scope
echo '@js:registry=https://gitea.jbrumond.me/api/packages/js/npm/' >> ./.npmrc

npm install --save-dev @js/types

Types

import {
	// Various identifier strings
	HttpURL,
	UUID,
	SnowflakeID,

	// HTTP verbs
	HttpVerb,
	HttpVerbExtended,

	// Pino-compatible logger interface
	Logger,
	LogFn,
} from '@js/types';

Dependencies

Development Dependencies

ID Version
typescript ^5.1.3
Details
npm
2023-08-21 03:16:50 +00:00
40
James Brumond
ISC
1.5 KiB
Assets (1)
types-0.1.0.tgz 1.5 KiB
Versions (3) View all
0.2.1 2023-08-26
0.2.0 2023-08-26
0.1.0 2023-08-21