Skip to content

Commit 0c06678

Browse files
committed
Add new build badges to readme
1 parent 1a154f0 commit 0c06678

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

README.md

+2-16
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<hr />
1010

11-
[![Build Status](https://img.shields.io/travis/mattphillips/deep-object-diff/master.svg?style=flat-square)](https://travis-ci.org/mattphillips/deep-object-diff/master)
12-
[![Code Coverage](https://img.shields.io/coveralls/mattphillips/deep-object-diff.svg?style=flat-square)](https://coveralls.io/github/mattphillips/deep-object-diff?branch=master)
11+
[![Build Status](https://github.com/mattphillips/deep-object-diff/actions/workflows/ci.yaml/badge.svg)](https://github.com/mattphillips/deep-object-diff/actions/workflows/ci.yaml)
12+
[![Code coverage](https://codecov.io/gh/mattphillips/deep-object-diff/branch/main/graph/badge.svg?token=EwnXzDGW3x)](https://codecov.io/gh/mattphillips/deep-object-diff)
1313
[![version](https://img.shields.io/npm/v/deep-object-diff.svg?style=flat-square)](https://www.npmjs.com/package/deep-object-diff)
1414
[![downloads](https://img.shields.io/npm/dm/deep-object-diff.svg?style=flat-square)](http://npm-stat.com/charts.html?package=deep-object-diff&from=2016-11-23)
1515
[![MIT License](https://img.shields.io/npm/l/deep-object-diff.svg?style=flat-square)](https://github.com/mattphillips/deep-object-diff/blob/master/LICENSE)
@@ -40,24 +40,10 @@ A small library that can deep diff two JavaScript Objects, including nested stru
4040

4141
## Importing
4242

43-
ES6 / Babel:
4443
``` js
4544
import { diff, addedDiff, deletedDiff, updatedDiff, detailedDiff } from 'deep-object-diff';
4645
```
4746

48-
ES5:
49-
``` js
50-
const { diff, addedDiff, deletedDiff, detailedDiff, updatedDiff } = require("deep-object-diff");
51-
52-
// OR
53-
54-
const diff = require("deep-object-diff").diff;
55-
const addedDiff = require("deep-object-diff").addedDiff;
56-
const deletedDiff = require("deep-object-diff").deletedDiff;
57-
const detailedDiff = require("deep-object-diff").detailedDiff;
58-
const updatedDiff = require("deep-object-diff").updatedDiff;
59-
```
60-
6147
## Usage:
6248

6349
### `diff`:

0 commit comments

Comments
 (0)