New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@4lch4/api-starter

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@4lch4/api-starter - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

13

dist/index.d.ts

@@ -0,1 +1,2 @@

import Router from '@koa/router';
import { IAppConfig } from './interfaces/index.js';

@@ -11,14 +12,12 @@ import { Server } from './lib/index.js';

export declare function getServerStarter(config: Partial<IAppConfig>): Promise<Server>;
/** This object contains all interfaces exported by the package. */
export * as KoaOto from '@4lch4/koa-oto';
export * from '@4lch4/logger';
export { Dayjs } from 'dayjs';
export * as FS from 'fs-extra';
export * as Interfaces from './interfaces/index.js';
/** This object contains all class bases exported by the package. */
export * as Bases from './lib/bases/index.js';
/** This object contains all the constants exported by the package. */
export * as Constants from './lib/constants/index.js';
/** This object contains all the utility classes exported by the package. */
export * as Utils from './lib/utils/index.js';
/** This object contains all the API routes exported by the package. */
export * as Routes from './routes/index.js';
export * from '@4lch4/logger';
export * as KoaOto from '@4lch4/koa-oto';
export { Router };
//# sourceMappingURL=index.d.ts.map

@@ -0,1 +1,2 @@

import Router from '@koa/router';
import { DEFAULT_APP_CONFIG, Server } from './lib/index.js';

@@ -27,15 +28,23 @@ import { getRoutes } from './routes/index.js';

}
/** This object contains all interfaces exported by the package. */
// Exports the @4lch4/koa-oto package.
export * as KoaOto from '@4lch4/koa-oto';
// Exports the @4lch4/logger package.
export * from '@4lch4/logger';
// Exports the dayjs package.
export { Dayjs } from 'dayjs';
// Exports the fs-extra package.
export * as FS from 'fs-extra';
// This object contains all the interfaces exported by the package.
export * as Interfaces from './interfaces/index.js';
/** This object contains all class bases exported by the package. */
// This object contains all the class bases exported by the package.
export * as Bases from './lib/bases/index.js';
/** This object contains all the constants exported by the package. */
// This object contains all the constants exported by the package.
export * as Constants from './lib/constants/index.js';
/** This object contains all the utility classes exported by the package. */
// This object contains all the utility classes exported by the package.
export * as Utils from './lib/utils/index.js';
/** This object contains all the API routes exported by the package. */
// This object contains all the API routes exported by the package.
export * as Routes from './routes/index.js';
export * from '@4lch4/logger';
export * as KoaOto from '@4lch4/koa-oto';
// Exports the Koa Router package.
export { Router };
//#endregion Exports
//# sourceMappingURL=index.js.map
{
"name": "@4lch4/api-starter",
"displayName": "API Starter",
"version": "1.0.3",
"version": "1.1.0",
"description": "An NPM package to use for starting a new API within my infrastructure.",

@@ -52,2 +52,3 @@ "main": "./dist/index.js",

"dayjs": "^1.11.7",
"fs-extra": "^11.1.0",
"koa": "^2.14.1",

@@ -58,2 +59,3 @@ "koa-body": "^6.0.1",

"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/koa": "^2.13.5",

@@ -60,0 +62,0 @@ "@types/koa__router": "^12.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc