Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacobhsu/ramda
https://github.com/jacobhsu/ramda
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jacobhsu/ramda
- Owner: JacobHsu
- Created: 2019-04-26T01:48:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T20:02:38.000Z (about 2 years ago)
- Last Synced: 2024-04-10T16:05:25.671Z (9 months ago)
- Language: JavaScript
- Homepage: https://jacobhsu.github.io/ramda/
- Size: 1.05 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# ramda
[Ramda 中文](http://ramda.cn/)
[Ramda 函数库参考教程](http://www.ruanyifeng.com/blog/2017/03/ramda.html)
> 你可能會問,Underscore 和 Lodash 已經這麼流行了,為什麼還要學習好像雷同的 Ramda 呢?
回答是,前兩者的參數位置不對,把處理的數據放到了第一個參數。
Ramda 的數據一律放在最後一個參數,理念是"function first,data last"。## docsify
[docsify.js](https://docsify.js.org/#/zh-cn/quickstart)
`$ docsify init ./docs`
`$ docsify serve docs`[Embedded code fragments](https://docsify.js.org/#/embed-files)
# hexo
[hexo-theme-doc](https://github.com/zalando-incubator/hexo-theme-doc)
git clone 新開blog資料夾 將code 複製過去_config.yaml
```js
# Site
title: Hello Ramda# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
root: /ramda# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repository: https://github.com/JacobHsu/ramda
branch: gh-pages
````$blog> npm install`
remove `to-html.md` `ui.md` content
`$doc> hexo g`
`$doc> hexo d`
> `hexo d` ERROR: `ERROR Deployer not found: git`
`npm install hexo-deployer-git --save`https://jacobhsu.github.io/ramda
`$doc> hexo s`
http://localhost:4000/ramda/doc\source\_data \navigation.yaml
```js
"logo": {
"text": "Hello Ramda",
"type": "link",
"path": "index.html"
},
```