# dot-prop **Repository Path**: mirrors_stevemao/dot-prop ## Basic Information - **Project Name**: dot-prop - **Description**: Get a property from a nested object using a dot path - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2025-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dot-prop [![Build Status](https://travis-ci.org/sindresorhus/dot-prop.svg?branch=master)](https://travis-ci.org/sindresorhus/dot-prop) > Get a property from a nested object using a dot path ## Install ``` $ npm install --save dot-prop ``` ## Usage ```js var dotProp = require('dot-prop'); dotProp({foo: {bar: 'unicorn'}}, 'foo.bar'); //=> 'unicorn' dotProp({foo: {bar: 'a'}}, 'foo.notDefined.deep'); //=> undefined ``` ## License MIT © [Sindre Sorhus](http://sindresorhus.com)