# Installation
> `npm install --save @types/falafel`

# Summary
This package contains type definitions for falafel (https://github.com/substack/node-falafel).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/falafel.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/falafel/index.d.ts)
````ts
/// <reference types="node" />
interface OptionsObject {
    parser: any;
    [key: number]: any;
    [key: string]: any;
}
interface FullOptionsObject extends OptionsObject {
    src: string;
}
type WalkerFunction = (nodeOrChild: any, nodeOrNull: any) => void;
interface Result {
    chunks: any[];
    toString: () => string;
    inspect: () => string;
}
declare function falafel(src: string | Buffer | FullOptionsObject, fn: WalkerFunction): Result;
declare function falafel(src: string | Buffer, opts: OptionsObject, fn: WalkerFunction): Result;
export = falafel;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Przemysław Struciński](https://github.com/delprzemo), and [leumasme](https://github.com/leumasme).
