New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

func_cache_mongo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

func_cache_mongo

Caches function results to mongo

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

func_cache_mongo

Install

npm install func_cache_mongo

Usage

func_cache = require('./func_cache_mongo')()

get_image_url = (query, callback) ->
  Bing.images query, {}, (error, res2, body) ->
    callback [x.MediaUrl for x in body.d.results]

get_image_url_cached = func_cache(get_image_url)

FAQs

Package last updated on 21 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts