Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/azu/promises-book

JavaScript Promiseの本
https://github.com/azu/promises-book

book ebook free javascript javascript-promise pdf promise

Last synced: about 1 month ago
JSON representation

JavaScript Promiseの本

Awesome Lists containing this project

README

        

# Promises Book [![test](https://github.com/azu/promises-book/actions/workflows/test.yml/badge.svg)](https://github.com/azu/promises-book/actions/workflows/test.yml) [![Gitter chat](https://badges.gitter.im/azu/promises-book.png)](https://gitter.im/azu/promises-book)

JavaScript Promiseについての薄い電子書籍です。

- ウェブ版: [https://azu.github.io/promises-book/](https://azu.github.io/promises-book/ "Promises book")
- PDF版: [https://azu.github.io/promises-book/javascript-promise-book.pdf](https://azu.github.io/promises-book/javascript-promise-book.pdf)
- おまけ(付録): [https://gumroad.com/l/javascript-promise](https://gumroad.com/l/javascript-promise "JavaScript Promiseの本 付録")

作者をサポートしたい場合は、次の手段が利用できます。

- GitHub Sponsorsで[作者に対してmonthly/onetimeで支援](https://github.com/sponsors/azu)できます
- Gumroadで[付録を任意の値段で購入](https://gumroad.com/l/javascript-promise "JavaScript Promiseの本 付録")できます。

過去のバージョンについては次のページから参照できます。

- [JavaScript Promiseの本(v1)](https://azu.github.io/promises-book/archives/v1/)

This book has been released in :

- **Chinese**: [JavaScript Promise迷你书(中文版)](http://liubin.github.io/promises-book/)
- **Korean**: [\[한빛미디어 eBook\] JavaScript Promise(번역서)](http://www.hanbit.co.kr/ebook/look.html?isbn=9788968487293)

## Installation

この書籍はAsciidocフォーマットで書かれています。

[Asciidoctor](https://asciidoctor.org/ "Asciidoctor")でビルドすることができます。

### HTMLのビルド

``` sh
bundle install --path vendor/bundle
npm install
make html
open index.html
```

### PDFのビルド

フォントには[源真ゴシック (げんしんゴシック) | 自家製フォント工房](http://jikasei.me/font/genshin/ "源真ゴシック (げんしんゴシック) | 自家製フォント工房")を利用しています。

必要なもの

* [源真ゴシック (げんしんゴシック) | 自家製フォント工房](http://jikasei.me/font/genshin/ "源真ゴシック (げんしんゴシック) | 自家製フォント工房")
* Java

``` sh
git submodule update --init
make pdf
open javascript-promise-book.pdf
```

### Epubのビルド

まだ完成度が高くないため品質はよくありません。
[HTML版](https://azu.github.io/promises-book/)はスマートフォン等画面が小さくても見られるようになっているためそちらの利用を推奨します。

``` sh
gem install specific_install
gem specific_install -l https://github.com/asciidoctor/asciidoctor-epub3
asciidoctor-epub3 -D output index.adoc
```

## Contributing

Pull RequestやIssue等お気軽にどうぞ。

[![Gitter chat](https://badges.gitter.im/azu/promises-book.png)](https://gitter.im/azu/promises-book) に書き込むだけでも問題ないです。

Pull Requestする場合は [CONTRIBUTING.md](CONTRIBUTING.md "CONTRIBUTING.md") も参考にして下さい。

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License

プログラムコードはMITライセンスで利用できます。

文章についてはCreative Commons Attribution-NonCommercialで利用できます。

クリエイティブ・コモンズ・ライセンス