diff --git a/README.md b/README.md index 8af8fd1..af37602 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,12 @@ Schema: } ``` +## Usage in browser + +You can use the module directly in the browser (without any module bundler such as Webpack or Parcel) but you will need to include `requirejs`. + +The usage is not so straight-forward, so please refer to the [demo](https://github.com/scriptex/typed-usa-states/blob/master/demo/index.html) + ## Typings The package exports several types which can be used in TypeScript environment. diff --git a/demo/index.html b/demo/index.html index eebb100..c363bbf 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,6 +4,8 @@