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

@ejnshtein/smol-request

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ejnshtein/smol-request - npm Package Compare versions

Comparing version 1.0.12-b to 1.1.0

6

package.json
{
"name": "@ejnshtein/smol-request",
"version": "1.0.12b",
"description": "Tiny http/https request wrapper for Node.js using ESM (13.5 and newer)",
"version": "1.1.0",
"description": "Tiny http/https request wrapper for Node.js 10+ (Version 13.5 and newer supports ESM)",
"type": "module",

@@ -24,3 +24,3 @@ "main": "Request.cjs",

"engines": {
"node": ">=13.5"
"node": ">=10.20"
},

@@ -27,0 +27,0 @@ "typings": "./typings/index.d.ts",

@@ -7,3 +7,3 @@ # Smol Request

Small async request client for Node.js 13.5 and newer with 0 dependencies.
Small async request client for Node.js 10.20.x+ and newer with 0 dependencies (And ESM support for Node 13.5+).
Mostly meant to be used as an http layer for some API library.

@@ -20,4 +20,9 @@

```js
// import with esm
import request from '@ejnshtein/smol-request'
// or commonjs
const request = require('@ejnshtein/smol-request')
request('https://ghibliapi.herokuapp.com/films', { responseType: 'json' })

@@ -24,0 +29,0 @@ .then(({ data }) => {

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