# LangPack

A JavaScript library for enable multiple languages for your web app.

## Installation and Usage

You can install this by [npm](https://www.npmjs.com/package/langpack).

```sh
npm i langpack
```

And you can also insert the [JavaScript bundled file](./dist/index.js) by `script` tag into your web page directly and use `LangPack` namespace to access.

[Click here](https://github.com/compositejs/langpack/wiki/installation) to read more.

## Features

LangPack help you to build a global web app or create a library with international supports.

Following are the key features that you can click to read more. The samples are written by Type Script by default in these documents.

- [Localization](https://github.com/compositejs/langpack/wiki/localization) - A set of tools to help you to set up the environment for globalization and localization.

## Building / Testing

You may need install Gulp to build. Following is the command line to build this project including the source and test cases.

```sh
npm run-script build
```

You can run all test cases after building by following command line.

```sh
npm test
```

## Readme in other languages

- [简体中文](https://github.com/compositejs/langpack/wiki/shuoming)

## License

This project is [MIT Licensed](./LICENSE).

Please feel free to import this into your project. And you can also clone or fork the repository as you want.
