Skip to content

Commit 9e1013d

Browse files
committed
Renaming
1 parent b80932a commit 9e1013d

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# frowser
2-
3-
![Last version](https://img.shields.io/github/tag/Kikobeats/frowser.svg?style=flat-square)
4-
[![Build Status](https://img.shields.io/travis/Kikobeats/frowser/master.svg?style=flat-square)](https://travis-ci.org/Kikobeats/frowser)
5-
[![Coverage Status](https://img.shields.io/coveralls/Kikobeats/frowser.svg?style=flat-square)](https://coveralls.io/github/Kikobeats/frowser)
6-
[![Dependency status](https://img.shields.io/david/Kikobeats/frowser.svg?style=flat-square)](https://david-dm.org/Kikobeats/frowser)
7-
[![Dev Dependencies Status](https://img.shields.io/david/dev/Kikobeats/frowser.svg?style=flat-square)](https://david-dm.org/Kikobeats/frowser#info=devDependencies)
8-
[![NPM Status](https://img.shields.io/npm/dm/frowser.svg?style=flat-square)](https://www.npmjs.org/package/frowser)
1+
# browserless
2+
3+
![Last version](https://img.shields.io/github/tag/Kikobeats/browserless.svg?style=flat-square)
4+
[![Build Status](https://img.shields.io/travis/Kikobeats/browserless/master.svg?style=flat-square)](https://travis-ci.org/Kikobeats/browserless)
5+
[![Coverage Status](https://img.shields.io/coveralls/Kikobeats/browserless.svg?style=flat-square)](https://coveralls.io/github/Kikobeats/browserless)
6+
[![Dependency status](https://img.shields.io/david/Kikobeats/browserless.svg?style=flat-square)](https://david-dm.org/Kikobeats/browserless)
7+
[![Dev Dependencies Status](https://img.shields.io/david/dev/Kikobeats/browserless.svg?style=flat-square)](https://david-dm.org/Kikobeats/browserless#info=devDependencies)
8+
[![NPM Status](https://img.shields.io/npm/dm/browserless.svg?style=flat-square)](https://www.npmjs.org/package/browserless)
99
[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square)](https://paypal.me/Kikobeats)
1010

1111
> Simple & Functional Browser API.
@@ -15,15 +15,15 @@ This module is an API simplification over [Chrome Headless API](https://github.c
1515
## Install
1616

1717
```bash
18-
$ npm install frowser --save
18+
$ npm install browserless --save
1919
```
2020

2121
## Usage
2222

2323
```js
24-
const frowser = require('frowser')
24+
const browserless = require('browserless')
2525

26-
frowser('do something')
26+
browserless('do something')
2727
//=> return something
2828
```
2929

@@ -65,7 +65,7 @@ It returns the text extracted from the URL.
6565

6666
## License
6767

68-
**frowser** © [Kiko Beats](https://kikobeats.com), Released under the [MIT](https://github.com/Kikobeats/frowser/blob/master/LICENSE.md) License.<br>
69-
Authored and maintained by Kiko Beats with help from [contributors](https://github.com/Kikobeats/frowser/contributors).
68+
**browserless** © [Kiko Beats](https://kikobeats.com), Released under the [MIT](https://github.com/Kikobeats/browserless/blob/master/LICENSE.md) License.<br>
69+
Authored and maintained by Kiko Beats with help from [contributors](https://github.com/Kikobeats/browserless/contributors).
7070

7171
> [kikobeats.com](https://kikobeats.com) · GitHub [Kiko Beats](https://github.com/kikobeats) · Twitter [@kikobeats](https://twitter.com/kikobeats)

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "frowser",
2+
"name": "browserless",
33
"description": "Simple & Functional Browser API.",
4-
"homepage": "https://documentup.com/Kikobeats/frowser",
4+
"homepage": "https://documentup.com/Kikobeats/browserless",
55
"version": "0.0.0",
66
"main": "index.js",
77
"author": {
@@ -11,10 +11,10 @@
1111
},
1212
"repository": {
1313
"type": "git",
14-
"url": "git+https://github.com/kikobeats/frowser.git"
14+
"url": "git+https://github.com/kikobeats/browserless.git"
1515
},
1616
"bugs": {
17-
"url": "https://github.com/Kikobeats/frowser/issues"
17+
"url": "https://github.com/Kikobeats/browserless/issues"
1818
},
1919
"keywords": [
2020
"browser",

test/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ const should = require('should')
44
const path = require('path')
55
const { readFileSync, writeFileSync } = require('fs')
66

7-
const frowser = require('..')
7+
const browserless = require('..')
88

9-
describe('frowser', () => {
9+
describe('browserless', () => {
1010
describe('.html', () => {
1111
it('get full HTML from a link', () =>
12-
frowser.html('https://www.instagram.com/p/BWUDBntl3_Z/').then(html => {
12+
browserless.html('https://www.instagram.com/p/BWUDBntl3_Z/').then(html => {
1313
writeFileSync(path.resolve('test/example.html'), html, 'utf8')
1414
should(html).be.eql(readFileSync('test/example.html', 'utf8'))
1515
}))
@@ -18,7 +18,7 @@ describe('frowser', () => {
1818
describe('.screenshot', () => {
1919
describe('format', () => {
2020
it('png', () =>
21-
frowser.screenshot('http://example.com').then(tmpStream => {
21+
browserless.screenshot('http://example.com').then(tmpStream => {
2222
should(readFileSync(tmpStream.path)).be.eql(
2323
readFileSync('test/example.png')
2424
)
@@ -27,7 +27,7 @@ describe('frowser', () => {
2727
}))
2828

2929
it('jpeg', () =>
30-
frowser
30+
browserless
3131
.screenshot('http://example.com', { type: 'jpeg' })
3232
.then(tmpStream => {
3333
should(readFileSync(tmpStream.path)).be.eql(
@@ -40,7 +40,7 @@ describe('frowser', () => {
4040

4141
describe('devices', () => {
4242
it('iPhone 6', () =>
43-
frowser
43+
browserless
4444
.screenshot('http://example.com', { device: 'iPhone 6' })
4545
.then(tmpStream => {
4646
should(readFileSync(tmpStream.path)).be.eql(
@@ -53,7 +53,7 @@ describe('frowser', () => {
5353

5454
describe('.pdf', () => {
5555
it('get full PDF from an url', () =>
56-
frowser.pdf('http://example.com').then(tmpStream => {
56+
browserless.pdf('http://example.com').then(tmpStream => {
5757
should(path.extname(tmpStream.path)).be.equal('.pdf')
5858
tmpStream.cleanupSync()
5959
}))

0 commit comments

Comments
 (0)