> For the complete documentation index, see [llms.txt](https://dscheglov.gitbook.io/true-di/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dscheglov.gitbook.io/true-di/core/prepare-all.md).

# prepareAll

Creates all items in the container.

## Import

```typescript
import { prepareAll } from 'true-di';
```

```javascript
const { isReady } = require('true-di');
```

## Typing:

```typescript
function prepareAll<IContainer>(container: IContainer): IContainer
```

## Arguments:

* **container**: `IContainer` - container to create all its items.

## Returns:

* **static copy of the container**: `IContainer` - plain JS-object with fields those are container items.

## Example:

```typescript
import { isReady, prepareAll } from 'true-di/utils';
import container from './container';

prepareAll(container);

console.log(
  isReady(container, 'logger'), 
  isReady(container, 'dataAccessService'), 
  isReady(container, 'ecommerceService')
);
// prints: true true true
```
