Neo's Playing Morpheus

    tsl-core-json
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.0 • Public • Published

    TypeScript Library for JSON

    This is a TypeScript-optimized library to handle JSON.

    Installation

    npm install tsl-core-json

    API

    JSON.extract

    Extracts a path in a JSON object and returns the found portion.

    Parameters:

    • json: JSON - JSON object to extract from.

    • path: string - Path in the JSON object to extract.

    Returns:

    • JSON.Type - JSON object or primitive, if path was found.

    • undefined - Void, if path was not found.

    Links

    Install

    npm i tsl-core-json

    DownloadsWeekly Downloads

    5

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • typescriptlibs