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 🙏

© 2026 – Pkg Stats / Ryan Hefner

localeworks.js

v0.1.4

Published

> IGAWorks localization SDK.

Readme

LocaleWorks

IGAWorks localization SDK.

LocaleWorks LOGO


소개

localeworks.js는 로컬라이제이션 번역을 도와주는 javascript library입니다.

해당 라이브러리는 아래 항목을 지원합니다.

  1. S3 버킷을 통한 번역본 배포 지원.
  2. Google 스프레드시트를 통한 번역본 배포 지원.
  3. 로컬 스토리지를 통한 캐시 지원
  4. 인터페이스를 통한 커스텀 로더 생성 가능 및 확장 사용 가능

API는 우측 링크에서 확인 가능합니다. documentation


설치

LocaleWorks는 패키지매니저를 통해 쉽게 설치가 가능합니다.

Javascript

$ npm install localeworks.js --save

Github에서 다운로드

$ git clone https://github.com/IGAWorksDev/localeworks.js.git

위 bash 명령어를 수행하시면, javascript의 원본 및 배포파일을 확인 하실 수 있습니다.

CDN에서 다운로드

일반 버전과 min 버전으로 나뉘며 별도로 폴리필을 사용중이실 때에는 nopolyfill버전을 사용해주시길 바랍니다.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/localeworks.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/localeworks.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/localeworks.nopolyfill.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/localeworks.nopolyfill.min.js"></script>

사용

Quick start

cdn와 같은 umd으로 설치하신 경우 windows.localeworks로 접근이 가능합니다.

const { S3LocaleLoader } = window.localeworks

const bucket = 'localization-ap-northeast-1'
const key = 'sample'
const loader = new S3LocaleLoader(bucket, key)

loader.getLocales().then(locales => {
    // Do something
})

npm을 통해 받으신 설치한 경우 아래와 같이 사용할 수 있습니다.

import { S3LocaleLoader } from 'localeworks.js'

const bucket = 'localization-ap-northeast-1'
const key = 'sample'
const loader = new S3LocaleLoader(bucket, key)

loader.getLocales().then(locales => {
    // Do something
})

기본적으로 객체간의 조합을 통해 원하시는 형태의 모습으로 사용할 수 있습니다.

import {
  S3LocaleLoader, CacheLoader, ReplacementExtension,
  LocalStorageCacheStore, LanguageType
} from 'localeworks.js'

// initialize S3 Loader
const bucket = 'localization-ap-northeast-1'
const key = 'sample'
const loader = new S3LocaleLoader(bucket, key)

// initialize composite cache loader
const cacheOption = { cacheTime: 3000000 }
const cacheLoader = new CacheLoader([loader], cacheOption, new LocalStorageCacheStore())

// apply replacement extension
const replaceExt = new ReplacementExtension(cacheLoader)
replaceExt.apply(LanguageType.KO)