Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9870a74

Browse files
Update README.md
1 parent 4e2be3b commit 9870a74

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

‎README.md‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,17 @@
3131
Proudly supported by...<br/>
3232
<a href="https://www.browserstack.com/"><img src="browserstack.png" width=240 alt="BrowserStack"/></a>
3333
</div>
34-
<div align="center">
35-
<img src="pico-lambda-stats.png" />
36-
</div>
37-
38-
34+
## Rationale
35+
We needed to optimize the bundle size of our projects. Since we were already using ES6 and transpiling it, we decided to create a functional library that takes the native Array and String APIs used by major browsers and Nodejs, and make them *functional* - so we can `curry`, `compose`, and `pipe` them. If you are either already transpiling es6 in your project, or you are not supporting older browsers, you should use this instead of `ramda` or `lodash/fp`. If you need to support older browsers, are not transpiling es6, or using es5 - you should use `lodash/fp` or `ramda`
3936

4037
## why pico-lambda
41-
- **Pico:** weighs less than 640 bytes when minified and gzipped.
38+
- **Pico:** weighs less than 700 bytes when minified and gzipped.
4239
- **Useful:** takes most native JavaScript array and string methods and makes them *immutable*, *curried*, and *composable*.
4340
- **Functional:** Curry, compose and pipe, Oh My!
4441
- **Familiar:** same names just curried and composable. See [JavaScript Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) and [JavaScript String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String).
4542
- **Degrades Gracefully:** a small set of these functions are not available in every browser/environment. When not available in the browser it will not be available in Pico Lambda.
4643

47-
> Pico-lambda was made for the ES2015 Javascript Runtime. It has __no dependencies__.
44+
> Pico-lambda was made for the ES6 Javascript Runtime. It has __no dependencies__.
4845
4946
* * *
5047

@@ -962,4 +959,4 @@ Returns the primitive value of a string.
962959
```js
963960
valueOf("abc") //=> 'abc'
964961
```
965-
> See [String.valueOf (MDN)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/valueOf)
962+
> See [String.valueOf (MDN)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/valueOf)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /