Skip to content

Commit

Permalink
docs: what's in a name? that which we call a base64, by any other nam…
Browse files Browse the repository at this point in the history
…e would be as encoded
  • Loading branch information
tinacious committed Dec 27, 2020
1 parent 39232a6 commit f1c44ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# react-native-save-base64-image
# react-native-save-base-sixty-four

Allows you to save an image in base64 format to your Photos or share it via the native share sheet.
Allows you to save a base64-encoded image to your Photos or share it via the native share sheet.

- [About this module](#about-this-module)
- [Android support](#android-support)
Expand Down Expand Up @@ -61,8 +61,8 @@ When a user does not accept permissions:
## Installation

```sh
npm install react-native-save-base64-image --save
yarn add react-native-save-base64-image
npm install react-native-save-base-sixty-four --save
yarn add react-native-save-base-sixty-four
```

### iOS
Expand Down Expand Up @@ -93,7 +93,7 @@ Call either the `share` or `save` method with the base64 encoded string and opti
### `share(base64ImageString: string, options: SaveBase64ImageOptions)`

```js
import SaveBase64Image from 'react-native-save-base64-image';
import SaveBase64Image from 'react-native-save-base-sixty-four';

// Native share sheet
// with async await
Expand Down Expand Up @@ -122,7 +122,7 @@ SaveBase64Image
### `save(base64ImageString: string, options: SaveBase64ImageOptions)`

```js
import SaveBase64Image from 'react-native-save-base64-image';
import SaveBase64Image from 'react-native-save-base-sixty-four';

// Save to device
// with async await
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-save-base64-image",
"name": "react-native-save-base-sixty-four",
"version": "0.1.0",
"description": "Allows you to save an image in base64 format to your Photos or share it via the native share sheet",
"description": "Allows you to save a base64-encoded image to your Photos or share it via the native share sheet.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
Expand Down

0 comments on commit f1c44ba

Please sign in to comment.