@xpadev-net/niconicomments 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +11 -0
  2. package/README.md +20 -0
  3. package/package.json +32 -0
package/LICENSE ADDED
@@ -0,0 +1,11 @@
1
+ The MIT License
2
+ ===============
3
+
4
+ Copyright (c) 2021 xpadev https://xpadev.net
5
+
6
+ 以下に定める条件に従い、本ソフトウェアおよび関連文書のファイル(以下「ソフトウェア」)の複製を取得するすべての人に対し、ソフトウェアを無制限に扱うことを無償で許可します。これには、ソフトウェアの複製を使用、複写、変更、結合、掲載、頒布、サブライセンス、および/または販売する権利、およびソフトウェアを提供する相手に同じことを許可する権利も無制限に含まれます。
7
+
8
+ 上記の著作権表示および本許諾表示を、ソフトウェアのすべての複製または重要な部分に記載するものとします。
9
+
10
+ ソフトウェアは「現状のまま」で、明示であるか暗黙であるかを問わず、何らの保証もなく提供されます。ここでいう保証とは、商品性、特定の目的への適合性、および権利非侵害についての保証も含みますが、それに限定されるものではありません。
11
+ 作者または著作権者は、契約行為、不法行為、またはそれ以外であろうと、ソフトウェアに起因または関連し、あるいはソフトウェアの使用またはその他の扱いによって生じる一切の請求、損害、その他の義務について何らの責任も負わないものとします。
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # [niconicomments](https://xpadev.net/niconicomments/)
2
+ [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/xpadev_net/niconicomments/LICENSE)
3
+ ニコニコ動画の公式プレイヤーに多少の互換性を持つコメント描画ライブラリです
4
+ This is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.
5
+ Reference: https://xpadev.net/niconicomments/docs/
6
+ Github: https://github.com/xpadev-net/niconicomments
7
+
8
+ ## Installation
9
+ ```html
10
+ <script src="https://cdn.jsdelivr.net/npm/niconicomments@latest/src/main.min.js"></script>
11
+ ```
12
+
13
+ ## Examples
14
+ ```javascript
15
+ const niconiComments = new NiconiComments(canvas, comments);
16
+ niconiComments.drawCanvas(vpos)
17
+ ```
18
+
19
+ ## Sample
20
+ https://xpadev.net/niconicomments/sample.html
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@xpadev-net/niconicomments",
3
+ "version": "0.0.1",
4
+ "description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
5
+ "main": "dist/niconicomments.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "build": "rollup -c rollup.config.js",
9
+ "prepublishOnly": "rollup -c rollup.config.js"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/xpadev-net/niconicomments.git"
14
+ },
15
+ "keywords": [
16
+ "niconico"
17
+ ],
18
+ "author": "xpadev(xpadev.net)",
19
+ "bugs": {
20
+ "url": "https://github.com/xpadev-net/niconicomments/issues"
21
+ },
22
+ "files": [
23
+ "dist/niconicomments.js"
24
+ ],
25
+ "homepage": "https://xpadev.net/",
26
+ "license": "MIT",
27
+ "devDependencies": {
28
+ "babel-preset-es2015-rollup": "^3.0.0",
29
+ "rollup": "^2.60.2",
30
+ "rollup-plugin-babel": "^4.4.0"
31
+ }
32
+ }