Socket
Socket
Sign inDemoInstall

ramda

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ramda - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

ramda.min.js

2

package.json

@@ -12,3 +12,3 @@ {

"description": "A practical functional library for Javascript programmers.",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://www.github.com/CrossEye/ramda",

@@ -15,0 +15,0 @@ "license": "MIT",

@@ -519,3 +519,3 @@ // ramda.js 0.0.1

// TODO: should this take arbitrary number of `f` functions?
R.fork = function(after, f1, f2) {
R.fork = function(f1, f2, after) {
return function() {

@@ -1293,2 +1293,13 @@ return after(f1.apply(this, arguments), f2.apply(this, arguments));

// Divides the second parameter by the first and returns the remainder.
var modulo = R.modulo = _(function(a, b) { return a % b; });
// Reversed version of `modulo`, where the second parameter is divided by the first. The curried version of
// this one might be more useful than that of `modulo`. For instance:
//
// var isOdd = moduloBy(2);
// isOdd(42); // => 0
// isOdd(21); // => 1
R.moduloBy = flip(modulo);
// Adds together all the elements of a list.

@@ -1522,2 +1533,2 @@ R.sum = foldl(add, 0);

}());
}));
}));

@@ -91,136 +91,2 @@ Project Ramda

Functions included
-------------------
We want to include the basic functions that will help a Javscript
programmer work with objects and arrays. We will try to use the most
common names for these, possibly using multiple aliases for those that
are most debated.
### Core ###
* isEmpty
* isAtom
* curry
* prepend (cons)
* append
* merge
* head (car)
* tail (cdr)
* size
### Functions ###
* compose (fog)
* pipe (sequence) (i.e., like compose but in reverse order)
* flip
* partial (applyLeft)
* rPartial (applyRight)
* memoize
* once
* wrap
* nAry
* construct
### Lists ###
* map
* foldl (reduce)
* foldl1
* foldr (reduceRight)
* foldr1
* filter
* reject
* take
* takeWhile
* skip (drop)
* skipUntil
* find
* all (every)
* any (some)
* contains
* uniq
* pluck
* flatten
* zip
* zipWith
* xprod (i.e. cartesian product)
* xprodWith (i.e. cartesian product with function)
* reverse
* range
* nth
* indexOf
* lastIndexOf
* splice
* join
* comparator
### Generators ###
* tail
* take
* skip
* map
* filter
### Objects ###
* tap (K)
* eq
* prop
* func
* props
* maybe
* keys
* values
* pick
* invoker
### Logic ###
* and
* or
* not
* andFn
* orFn
* notFn
### Arithmetic ###
* add
* multiply
* subtract
* divide
* sum
* product
### Strings ###
* substring
* substringFrom
* substringTo
* charAt
* charCodeAt
* match
* strIndexOf
* strLastIndexOf
### Data querying ###
* project
* keyValue
* sortBy
* countBy
* groupBy
### Miscellaneous ###
* identity (I)
* installTo
* alwaysZero
* alwaysTrue
* alwaysFalse
So What's With Eweda?

@@ -227,0 +93,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