Skip to content

Commit 1c6b5b2

Browse files
committed
docs: update readme
1 parent 58aa8b3 commit 1c6b5b2

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

Diff for: README.md

+3-13
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,10 @@ Install the package:
1212
npm install angular-ecmascript-intl --save
1313
```
1414

15-
Import the `IntlModule`:
15+
Import the pipes individually as per usage, or import the `IntlModule` to import all pipes at once.
1616

17-
```typescript
18-
import { NgModule } from "@angular/core";
19-
import { IntlModule } from "angular-ecmascript-intl";
20-
21-
@NgModule({
22-
imports: [IntlModule],
23-
})
24-
export class MyModule {}
25-
```
26-
27-
By default, the pipe will use the browser default locale. If you want to override it, you can provide the `INTL_LOCALES`
28-
injection token:
17+
By default, all pipes will use the browser default locale.
18+
If you want to override it, you can provide the `INTL_LOCALES` injection token:
2919

3020
```typescript
3121
import { NgModule } from "@angular/core";

0 commit comments

Comments
 (0)