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

apeman-demo-loc

v1.0.1

Published

Demo of loc projects

Downloads

52

Readme

apeman-demo-loc

Build Status npm Version JS Standard

Demo of loc projects

Installation

$ npm install apeman-demo-loc --save

Usage

#!/usr/bin/env node

'use strict'

const loc = require('apeman-demo-loc')

{
  const ja = loc('ja')

  console.log(ja('app.TITLE'))
}

Messages

ja Messages

| Key | Value | | --- | ----- | | $lang | "ja" | | errors.RESOURCE_DATA_CONFLICT_ERROR | "リソースデータ競合エラー" | | errors.RESOURCE_DATA_ERROR | "リソースデータエラー" | | errors.RESOURCE_DATA_MISSING_ERROR | "リソースデータ欠落エラー" | | errors.RESOURCE_ERROR | "リソースエラー" | | errors.RESOURCE_INCLUDE_ERROR | "リソースインクルードエラー" | | errors.RESOURCE_INCLUDE_INVALID_ERROR | "RESOURCE_INCLUDE_INVALID_ERROR" | | errors.RESOURCE_NOT_FOUND_ERROR | "未検出エラー" | | errors.RESOURCE_TYPE_ERROR | "リソース種別エラー" | | errors.RESOURCE_TYPE_INVALID_ERROR | "リソース種別不正エラー" | | errors.RESOURCE_TYPE_MISSING_ERROR | "リソース種別欠落エラー" | | errors.RESOURCE_VR_ERROR | "リソースバージョンエラー" | | errors.RESOURCE_VR_TYPE_ERROR | "リソースバージョン種別エラー" | | errors.SIGN_CAPTCHA_WRONG_ERROR | "CAPTCHA照合エラー" | | errors.SIGN_ERROR | "ログインエラー" | | errors.SIGN_FORM_WRONG_ERROR | "ログイン入力内容エラー" | | errors.SOMETHING_WRONG_ERROR | "不明なエラー" | | errors.VALUE_DUPLICATE_ERROR | "文字列重複エラー" | | errors.VALUE_ERROR | "値エラー" | | errors.VALUE_INVALID_ERROR | "値不正エラー" | | errors.VALUE_MISSING_ERROR | "値欠落エラー" | | errors.VALUE_NUMBER_ERROR | "数値エラー" | | errors.VALUE_NUMBER_INVALID_ERROR | "数値不正エラー" | | errors.VALUE_NUMBER_TOO_LARGE_ERROR | "数値上限エラー" | | errors.VALUE_NUMBER_TOO_SMALL_ERROR | "数値下限エラー" | | errors.VALUE_STRING_ERROR | "文字列エラー" | | errors.VALUE_STRING_INVALID_ERROR | "文字列不正エラー" | | errors.VALUE_STRING_TOO_LONG_ERROR | "文字列長上限エラー" | | errors.VALUE_STRING_TOO_SHORT_ERROR | "文字列長下限エラー" | | errors.VALUE_TYPE_ERROR | "値種別エラー" | | errors.VALUE_TYPE_INVALID_ERROR | "値種別不正エラー" | | status.400 | "不正なリクエスト" | | status.401 | "認証が必要です" | | status.403 | "権限がありません" | | status.404 | "リソースが見つかりません" | | status.500 | "サーバーでエラーが発生しました" | | status.502 | "ゲートウェイエラー" | | status.503 | "混雑中" |

License

This software is released under the MIT License.

Links