File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 yarn
2626 yarn build
2727
28- - name : parser
28+ - name : tests
2929 run : |
3030 yarn test
Original file line number Diff line number Diff line change 1- # obj-path
1+ # nested-obj
22
33<p align =" center " width =" 100% " >
4- <a href =" https://github.com/pyramation/obj-path /actions/workflows/run-tests.yaml " >
5- <img height="20" src="https://github.com/pyramation/obj-path /actions/workflows/run-tests.yaml/badge.svg" />
4+ <a href =" https://github.com/pyramation/nested-obj /actions/workflows/run-tests.yaml " >
5+ <img height="20" src="https://github.com/pyramation/nested-obj /actions/workflows/run-tests.yaml/badge.svg" />
66 </a >
7- <a href =" https://github.com/pyramation/obj-path /blob/main/LICENSE-MIT " ><img height =" 20 " src =" https://img.shields.io/badge/license-MIT-blue.svg " ></a >
8- <a href =" https://github.com/pyramation/obj-path /blob/main/LICENSE-Apache " ><img height =" 20 " src =" https://img.shields.io/badge/license-Apache-blue.svg " ></a >
7+ <a href =" https://github.com/pyramation/nested-obj /blob/main/LICENSE-MIT " ><img height =" 20 " src =" https://img.shields.io/badge/license-MIT-blue.svg " ></a >
8+ <a href =" https://github.com/pyramation/nested-obj /blob/main/LICENSE-Apache " ><img height =" 20 " src =" https://img.shields.io/badge/license-Apache-blue.svg " ></a >
99</p >
1010
11- ` obj-path ` is a simple and lightweight JavaScript utility library for safely accessing and modifying nested properties in objects using string paths.
11+ ` nested-obj ` is a simple and lightweight JavaScript utility library for safely accessing and modifying nested properties in objects using string paths.
1212
1313## Features
1414
1919## Installation
2020
2121``` bash
22- npm install obj-path
22+ npm install nested-obj
2323```
2424
2525## Usage
@@ -29,7 +29,7 @@ npm install obj-path
2929Retrieve a nested property value from an object.
3030
3131``` ts
32- import objectPath from ' obj-path ' ;
32+ import objectPath from ' nested-obj ' ;
3333
3434const obj = {
3535 user: {
Original file line number Diff line number Diff line change 11{
2- "name" : " obj-path " ,
2+ "name" : " nested-obj " ,
33 "version" : " 0.0.1" ,
44 "description" : " manipulate deep objects safely and simply" ,
55 "author" : " Dan Lynch <pyramation@gmail.com>" ,
6- "homepage" : " https://github.com/pyramation/obj-path #readme" ,
6+ "homepage" : " https://github.com/pyramation/nested-obj #readme" ,
77 "license" : " SEE LICENSE IN LICENSE" ,
88 "main" : " main/index.js" ,
99 "module" : " module/index.js" ,
5252 },
5353 "repository" : {
5454 "type" : " git" ,
55- "url" : " https://github.com/pyramation/obj-path "
55+ "url" : " https://github.com/pyramation/nested-obj "
5656 },
5757 "keywords" : [],
5858 "bugs" : {
59- "url" : " https://github.com/pyramation/obj-path /issues"
59+ "url" : " https://github.com/pyramation/nested-obj /issues"
6060 },
6161 "devDependencies" : {
6262 "@types/jest" : " ^29.5.12" ,
7272 "ts-node" : " 10.9.2" ,
7373 "typescript" : " ^5.0.4"
7474 }
75- }
75+ }
You can’t perform that action at this time.
0 commit comments