npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

keiyaku-css

v1.1.0

Published

Crazy Style Formatter for Japanese Contract Document

Downloads

7

Readme

Keiyaku CSS

Crazy Style Formatter for Japanese Contract Document

Unfortunately, the style in Japanese contract document is totally crazy. I hope this CSS library cures that a bit:

  1. write a document logically structured in markdown or HTML,
  2. apply keiyaku-css to it
  3. then, you'll get a well-formed document
  4. good luck!

概要

Keiyaku CSS(以下、「本件ライブラリ」という。)は、Markdownで書かれた契約文書を、適切な印刷書式にスタイリングするための、CSSライブラリです。

ユーザ(以下、「甲」という。)は、製作者(以下、「乙」という。)が開発した本件ライブラリについて、以下のとおり使用することが可能です。

目的

本件ライブラリの目的は、法務の方からダメ出しされないことです。

インストール

ここからCSSファイルをダウンロードするか、npm経由でインストールします。

$ npm install --save keiyaku-css

HTMLのHEAD内にCSSファイルを読み込みます。

<link rel="stylesheet" href="path/to/keiyaku.css">

本件ライブラリを使用したいセクションに、keiyakuクラスを付加します。(divタグなどでも構いません)

<section class="keiyaku"></section>

上記セクション内に、必要なHTMLを書き入れます。

使い方・HTML編

HTMLを手書きする場合は、次の要素を使います。

  • <h1>文書のタイトル</h1>
  • <h2>見出しタイトル(条)</h2>
  • <ul><li>箇条書き</li></ul>
  • <ol><li>箇条書き(連番)</li><ol>
  • <hr> 署名欄の開始
  • <h4>署名欄・見出し</h4>
  • <ul><li>署名欄・項目</li></ul> (最後の項目には、自動的にマークが付きます)

使い方・Markdown編

本件ライブラリの使用が想定されているのは、主にMarkdownを使う場合です。下記のように書くことで可読性の高い契約文書を作成でき(ると期待し)ます。

  • 文書のタイトル: #
  • 見出しタイトル(条): ##
  • 箇条書き: -
  • 箇条書き(連番): 1., 2., ...
  • 署名欄: ---で始める
  • 署名欄・見出し: ####
  • 署名欄・項目: - (最後の項目には、自動的にマークが付きます)

使用例

ライセンス

MIT © Tsutomu Kawamura


2016年1月吉日

  • 住所:
  • 氏名: Your Name

  • 住所: 東京都世田谷区 下北沢オープンソースCafe
  • 氏名: Tsutomu Kawamura