open-index/open-npm huggingface dataset:
npm package: @nealrame/react-l-system
Description: L-System for your React application.
Author: Julien Graziano
Latest version: 0.1.0

# @nealRame/react-l-system

An implementation of Lindenmayer Systems for your React application.

## Installation
```sh
> npm install @nealrame/react-l-system
```

## Example

```jsx
import * as React from "react"

import { LSystemSVGRenderer } from "@nealrame/l-system"

const app = () => {
    return <LSystemSVGRenderer
        axiom={["F", "-", "-", "F", "-", "-", "F"]}
        productionRules={{
            "F": ["F", "+", "F", "-", "-", "F", "+", "F"],
        }}
        renderingRules={{
            "F": ["forward", 1],
            "+": ["turn",  Math.PI/3],
            "-": ["turn", -Math.PI/3],
        }}
        steps="4"
        backgroundColor="#171717"
        strokeColor="#7ae4ff"
    />
}
```

Which should produce something like :
<p align="center"><img src="./docs/images/koch_snowflake.png"/></p>
npm package: @nealrame/ts-injector
Description: A simple Dependency Injection library for Typescript
Author: Julien Graziano
Latest version: 0.5.0

# ts-injector
A simple Dependency Injection library for Typescript

## Installation
```sh
npm install @nealrame/ts-injector
```

## Basic Usage
```ts
import {
    Container,
} from "@nealrame/ts-injector"

const container = new Container()

@container.service()
class Service1 {
    method1() {
        console.log("message from a Service1 instance")
    }
}

@container.service()
class Service2 {
    @container.inject(Service1)
    private _service1: Service1!

    method2() {
        this._service1.method1()
        console.log("message from a Service2 instance")
    }
}

const service2 = container.get(Service2)
service2.method2()
// logs:
// message from a Service1 instance
// message from a Service2 instance
```

## Documentation
The detailed API documentation is available in the [Wiki](https://github.com/NealRame/ts-injector/wiki) of the project.

## License
[MIT](https://github.com/NealRame/ts-injector/blob/master/LICENSE)