This commit is contained in:
2025-05-12 05:38:44 +09:00
parent dced21c3f8
commit 6d78bfa46e
8120 changed files with 1161564 additions and 0 deletions

21
book/node_modules/asciidoctor/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License
Copyright (C) 2019 Dan Allen, Guillaume Grossetie, Anthonny Quérouil and the Asciidoctor Project
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

59
book/node_modules/asciidoctor/README.md generated vendored Normal file
View File

@@ -0,0 +1,59 @@
# Asciidoctor.js: AsciiDoc in JavaScript powered by Asciidoctor
Asciidoctor.js brings AsciiDoc to the JavaScript world!
This project uses [Opal](https://opalrb.com/) to transpile [Asciidoctor](http://asciidoctor.org), a modern implementation of AsciiDoc, from Ruby to JavaScript to produce _asciidoctor.js_.
The _asciidoctor.js_ script can be run on any JavaScript platform, including Node.js, GraalVM and, of course, a web browser.
## Install
$ npm i asciidoctor --save
## Usage
Here is a simple example that converts AsciiDoc to HTML5:
**sample.js**
```javascript
const asciidoctor = require('asciidoctor')() // <1>
const content = 'http://asciidoctor.org[*Asciidoctor*] ' +
'running on https://opalrb.com[_Opal_] ' +
'brings AsciiDoc to Node.js!'
const html = asciidoctor.convert(content) // <2>
console.log(html) // <3>
```
- <1> Instantiate the Asciidoctor.js library
- <2> Convert AsciiDoc content to HTML5 using Asciidoctor.js
- <3> Print the HTML5 output to the console
Save the file as _sample.js_ and run it using the `node` command:
$ node sample.js
You should see the following output in your terminal:
```html
<div class="paragraph">
<p><a href="http://asciidoctor.org"><strong>Asciidoctor</strong></a> running on <a href="http://opalrb.com"><em>Opal</em></a> brings AsciiDoc to Node.js!</p>
</div>
```
If you want to know more about Asciidoctor.js, please read the [User Manual](https://asciidoctor-docs.netlify.com/asciidoctor.js/).
## Contributing
In the spirit of [free software](https://www.gnu.org/philosophy/free-sw.html), _everyone_ is encouraged to help improve this project.
If you discover errors or omissions in the source code, documentation, or website content, please don't hesitate to submit an issue or open a pull request with a fix.
New contributors are always welcome!
The [Contributing](https://github.com/asciidoctor/asciidoctor.js/blob/main/CONTRIBUTING.adoc) guide provides information on how to contribute.
If you want to write code, the [Contributing Code](https://github.com/asciidoctor/asciidoctor.js/blob/main/CONTRIBUTING-CODE.adoc) guide will help you to get started quickly.
## Copyright
Copyright (C) 2019 Dan Allen, Guillaume Grossetie, Anthonny Quérouil and the Asciidoctor Project.
Free use of this software is granted under the terms of the MIT License.
See the [LICENSE](https://github.com/asciidoctor/asciidoctor.js/blob/main/LICENSE) file for details.

9
book/node_modules/asciidoctor/bin/asciidoctor generated vendored Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env node
'use strict'
process.title = 'asciidoctor'
const { Options, Invoker } = require('@asciidoctor/cli')
const options = new Options().parse(process.argv)
new Invoker(options).invoke()

1
book/node_modules/asciidoctor/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = require('@asciidoctor/core')

55
book/node_modules/asciidoctor/package.json generated vendored Normal file
View File

@@ -0,0 +1,55 @@
{
"name": "asciidoctor",
"version": "2.2.8",
"description": "A JavaScript AsciiDoc processor, cross-compiled from the Ruby-based AsciiDoc implementation, Asciidoctor, using Opal",
"main": "index.js",
"types": "types",
"bin": {
"asciidoctor": "bin/asciidoctor",
"asciidoctorjs": "bin/asciidoctor"
},
"scripts": {
"test": "./bin/asciidoctor --version",
"dist": "pkg package.json --out-path dist"
},
"engines": {
"node": ">=8.11",
"npm": ">=5.0.0",
"yarn": ">=1.1.0"
},
"files": [
"bin",
"types/index.d.ts"
],
"repository": {
"type": "git",
"url": "https://github.com/asciidoctor/asciidoctor.js.git"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"asciidoc",
"asciidoctor",
"opal",
"javascript",
"library"
],
"authors": [
"Dan Allen (https://github.com/mojavelinux)",
"Guillaume Grossetie (https://github.com/mogztter)",
"Anthonny Quérouil (https://github.com/anthonny)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/asciidoctor/asciidoctor.js/issues"
},
"homepage": "https://github.com/asciidoctor/asciidoctor.js",
"dependencies": {
"@asciidoctor/cli": "3.5.0",
"@asciidoctor/core": "2.2.8"
},
"devDependencies": {
"pkg": "5.2.1"
}
}

3622
book/node_modules/asciidoctor/types/index.d.ts generated vendored Normal file

File diff suppressed because it is too large Load Diff