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 🙏

© 2025 – Pkg Stats / Ryan Hefner

sl-get-static-html

v4.0.1

Published

This module convert 'JT Scientist Library Test Site' to static html.

Readme

--

  1. node.jsおよびnpmをインストールする http://www.tettori.net/post/293/

-- 2. SL専用のダウンロードモジュールをインストールする ターミナルを立ち上げて以下のコマンドを実行する

$ npm install -g sl-get-static-html

-- 3. 任意のディレクトリに移動し、以下のコマンドを実行する

$ cd ***** $ sl-get-static-html

-- 4. 以下の結果が出力されることを確認する

$ Error: Arguments are invalid. $ Usage: sl-static-page-converter [CONFIG JSON PATH]

-- 5. config.json を配置したディレクトリで以下のコマンドを実行する

$ sl-get-static-html config.json

-- 6. 以下のような情報が表示されることを確認し、ダウンロードを開始する場合は y を入力する

$Configuration is loaded. $ - User ID : テストサーバユーザID $ - User Password : テストサーバパスワード $ - Source Root : http://test.brh.co.jp $ - Deploy Root : http://brh.co.jp $ - ダウンロードHTML数 rules are found $ $ Are you sure you want to continue? (y/n)

-- 7. 以下のような表示とともにファイルがダウンロードされる

$ fetch... http://test.brh.co.jp/s_library/interview/91/ $ 60 assets are found. $ fetch... http://test.brh.co.jp/s_library/interview/90/ $ 44 assets are found. $ fetch... http://test.brh.co.jp/s_library/interview/89/ $ 39 assets are found. $ fetch... http://test.brh.co.jp/s_library/interview/88/ $ 111 assets are found. $ fetch... http://test.brh.co.jp/s_library/interview/87/ $ 69 assets are found. $ fetch... http://test.brh.co.jp/s_library/interview/86/ $ 63 assets are found. $ fetch... http://test.brh.co.jp/s_library/interview/85/ $ 61 assets are found. $ fetch... http://test.brh.co.jp/s_library/interview/84/ $ 56 assets are found. $ Finished!

-- 8. FTPソフトで本番サーバにログインし、ダウンロードしたファイルをアップロードする

アップロード先 : /html/s_library/interview/記事番号ディレクトリ アップロード先 : /html/s_library/interview/asset アップロード先 : /html/s_library/interview/latest アップロード先 : /html/s_library/interview/index.html

-- 9. FTPソフトでテストサーバと本番サーバにログインし、JSONファイルをコピーする (テストサーバ : コピー元)/virtual/test/s_library/wp/wp-content/themes/scientist-library/static/index/json/data.json (本番サーバ : コピー先) /html/s_library/wp/wp-content/themes/scientist-library/static/index/json/data.json

-- 昭和機電サイドの更新

themeディレクトリからアップロード(3Dコンテンツ) /html/s_library/wp/wp-content/themes/scientist-library/static/index/texture/thumbnail-sl-frame-l /html/s_library/wp/wp-content/themes/scientist-library/static/index/texture/thumbnail-sl-frame-s /html/s_library/wp/wp-content/themes/scientist-library/static/index/texture/thumbnail-talk-frame-l /html/s_library/wp/wp-content/themes/scientist-library/static/index/texture/thumbnail-talk-frame-s

themeディレクトリからアップロード(詳細画面) /html/s_library/wp/wp-content/themes/scientist-library/image/index/index_exhibition_detail_photo_sl /html/s_library/wp/wp-content/themes/scientist-library/image/index/index_exhibition_detail_photo_talk

themeディレクトリからアップロード(展示コンテンツ) /html/s_library/wp/wp-content/themes/scientist-library/image/index/index_exhibition_detail_annual_book /html/s_library/wp/wp-content/themes/scientist-library/image/index/index_exhibition_detail_photo_sl /html/s_library/wp/wp-content/themes/scientist-library/image/index/index_exhibition_detail_photo_talk

その他のカテゴリ更新時 themeディレクトリからアップロード /html/s_library/wp/wp-content/themes/scientist-library/script/index.js

ダウンロードしたファイルからアップロード /html/s_library/wp/wp-content/uploads