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

@marcopeg/utils

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marcopeg/utils - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

lib/request.js

1

index.js

@@ -6,3 +6,4 @@ module.exports = {

pause: require('./lib/pause'),
request: require('./lib/request'),
truncate: require('./lib/truncate')
}

4

package.json
{
"name": "@marcopeg/utils",
"version": "1.1.0",
"version": "1.2.0",
"description": "Javascript utils for server and client projects",

@@ -20,4 +20,6 @@ "main": "index.js",

"dependencies": {
"es6-promise": "^4.2.4",
"isomorphic-fetch": "^2.2.1",
"winston": "^2.4.2"
}
}
# utils
Javascript utils for server and client projects
This is an opinionated set of personal javascript utilities that I
use to share from project to project and I'm tired to copy over.
Why?
**Point n.1:** Many great libraries have huge footprint. Here I aim
for the barebone and allow to cherry pick each module seapratedly.
**Point n.2:** Sometimes it's just faster to DIY. I plan to keep
this library as a personal API and implement the functions with better
open source libraries if/when I find them.
**Point n.3:** If Facebook does it (fbjs), why shouldn't I? :-)
**Point n.4:** No backward compatibility. I target NodeJS from version
9.x and modern web browsers. There is no transpilation that will bloat the code.
# Modules
## cancelEvent

@@ -57,2 +74,7 @@

## request
Wraps isomorphic fetch with some basic utility functions.
(this can be optimized a lot)
## truncate

@@ -59,0 +81,0 @@

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