Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nanotime/http-please

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nanotime/http-please - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

dist/index.d.ts.map

18

dist/index.d.ts

@@ -1,1 +0,17 @@

export { HttpPlease } from './http-please';
/**
* Creates an HTTP client with extended functionality by composing various plugins.
*
* @param {Object} options - The configuration options for the HTTP client.
* @prop {string} url - The base URL for the HTTP requests.
* @prop {srting} resolver - The resolver function for handling asynchronous operations.
* @prop {array} plugins - An array of plugins to extend the functionality of the HTTP client.
* @return {Object} - The composed HTTP client object.
* @prop fetch - Fetch method
* @prop get - HTTP get method
* @prop post - HTTP post method
* @prop put - HTTP put method
* @prop delete - HTTP delete method
* @prop formatUrl - formatUrl method
*/
export default function CreateHttpPlease({ options, url, resolver, plugins, }: any): any;
//# sourceMappingURL=composite.d.ts.map

15

package.json
{
"name": "@nanotime/http-please",
"private": false,
"version": "0.0.3",
"version": "0.1.0",
"type": "module",
"main": "./dist/http-please.umd.cjs",
"module": "./dist/http-please.js",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/http-please.js",
"require": "./dist/http-please.umd.cjs"
"import": "./dist/index.js"
}

@@ -20,3 +19,3 @@ },

"dev": "vite",
"build": "tsc && vite build",
"build": "vite build",
"preview": "vite preview",

@@ -33,3 +32,3 @@ "test": "vitest run",

"@commitlint/config-conventional": "^17.6.6",
"@types/node": "^20.4.2",
"@types/node": "^20.4.10",
"@typescript-eslint/eslint-plugin": "^6.0.0",

@@ -46,3 +45,3 @@ "@typescript-eslint/parser": "^6.0.0",

"semantic-release-cli": "^5.4.4",
"typescript": "^5.0.2",
"typescript": "^5.1.6",
"vite": "^4.4.0",

@@ -49,0 +48,0 @@ "vite-plugin-dts": "^3.3.0",

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