5.7.84 • Published 9 months ago

@hishprorg/atque-at v5.7.84

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Node.js Package

@hishprorg/atque-at

Download images from remote URLs or use local images and encode/decode them to Base64 string or Buffer object

Installation

npm i @hishprorg/atque-at --save

Usage

const base64 = require('@hishprorg/atque-at');
// or
import {encode, decode} from '@hishprorg/atque-at';

Examples

// encoding a jpg to base64
const url = 'https://example.com/test.jpg';
const options = {
  string: true,
  headers: {
    "User-Agent": "my-app"
  }
};

// writing to file named 'example.jpg'
const image = await encode(url, options);
await decode(image, { fname: 'example', ext: 'jpg' });

// writing to a sub-directory
// after creating a directory called 'photos'
const image = await encode(url, options);
await decode(image, { fname: './photos/example', ext: 'jpg' });

Contributing

Read the CONTRIBUTING guide for information.

License

Licensed under MIT. See LICENSE for more information.

Issues

Report a bug in issues.

Made with love in Dhaka, Bangladesh by Riyadh Al Nur

japaneseECMAScript 3frameworkes-shim APIelbrmrecursiveastUint8ClampedArrayES3dom-testing-librarysafemake dirtrimEndtexttelephonebundling__proto__Object.assignexecfilediff$.extendtddremovetypeofinternal slotbrowserlistrestfultypescripttrimglobStreamcliwritetestingstartercore-jstypedarrayscloudtrailjQuerywebUint16ArrayobjectloadingtypeweakmapsettingspostcssequalityWeakSetparentformnodejses2018weaksetObject.isfindLastObject.fromEntriestapstablejestreactresolvequeueglobal this valuecallbackdeepjson-schema-validatorglobalcryptoWebSockettoArraySetinstrumentationnpmjsonschemaamazonshrinkwrapcolorsetmoveargumentassertschecktostringtagcollectiontslibvisualcall-bindcharactersgettertranspilerReactiveExtensionsscheme-validationkeydataprunecompareSystem.global[[Prototype]]ES2018findreworkthreeutilitiesmatchAllefficientrm -frbddtypeerrorspeedinstallasteriskstesterajaxstreamreduceInt32Arrayformatfile systemcompilermruimportloggingRegExp.prototype.flagshashresttapeproxyagentworkerslicepatchhasOwnajvSymbol.toStringTaglastebsiamfullRFC-6455routesortedtoStringTagECMAScript 2016cachelocalttyprocessrobustbinescapeobjparsedropECMAScript 2018TypeScriptes2017rmdirmomentgetintrinsicArrayBuffer#slicetypedworkspace:*koreanyamleslint-pluginWeakMapconcatMapfilefullwidthviewclass-validatorcurlreact-hook-formObject.getPrototypeOfextrafull-widthjson-schemarfc4122coercibleupnativedescriptortypesafeemitmoduleFunction.prototype.nameprotoqueryshimES2023forksomeeslintconfigYAMLpropertieswarningredactoncepackage managerRxJSdeepcloneES2015flatMapprotocol-buffers256point-freeIterator-0Object.keysECMAScript 7espreeECMAScript 6chinesebabel-coretoReversedtrimRightnegative zeroiteratormatchES5helpersfnmatchparser.gitignoredayjstoolslengthramdacjknopecallimmutablerangeerrorhookscloudfrontsharedclassnamereact posesetterglobalscommand-linestreamsserializationfinduppopmotion_.extendcomputed-typesnumberexecdescriptorseveryspringtoSortedschemaappcorecopymobilecoverageECMAScript 2023constURLSearchParamslook-upartavasimpledbfunctionalxtermstringifierAsyncIteratortraversejson-schema-validationmulti-packageexpressStyleSheetarktypeendpointoptimistassertioneventDispatcherredirectruntimepackagesPushSymboldynamodbgraphqlargsgesturesdependenciespolyfillString.prototype.matchAlleventEmitterECMAScript 2017Array.prototype.flattenlocationarraybufferreadpureuuidECMAScript 2015function.lengthvaluetypedarrayoffsetfptoobjectplugina11yStreamsvalidatorpicomatchArray.prototype.findLastIndexchanneldeterministictc39datewaffastBigInt64Arrayfast-copyfindLastIndextoolkitdragrds
5.7.84

9 months ago

5.7.83

9 months ago

4.7.83

9 months ago

4.7.82

9 months ago

4.7.81

9 months ago

4.7.80

9 months ago

4.7.79

9 months ago

3.7.79

9 months ago

3.7.78

9 months ago

3.7.77

9 months ago

3.7.76

9 months ago

3.7.75

9 months ago

3.7.74

9 months ago

3.7.73

9 months ago

3.7.72

9 months ago

3.7.71

9 months ago

3.7.70

9 months ago

3.7.69

9 months ago

3.7.68

9 months ago

3.7.67

9 months ago

3.7.66

9 months ago

3.7.65

9 months ago

3.7.64

9 months ago

3.7.63

9 months ago

3.7.62

9 months ago

3.7.61

9 months ago

3.7.60

9 months ago

3.7.59

9 months ago

3.7.58

10 months ago

3.7.57

10 months ago

3.7.56

10 months ago

3.6.56

10 months ago

3.6.55

10 months ago

3.6.54

10 months ago

3.6.53

10 months ago

3.6.52

10 months ago

3.6.51

10 months ago

3.6.50

10 months ago

3.6.49

10 months ago

3.6.48

10 months ago

3.6.47

10 months ago

3.6.46

10 months ago

3.6.45

10 months ago

3.6.44

10 months ago

3.6.43

10 months ago

3.5.43

10 months ago

3.4.43

10 months ago

3.4.42

10 months ago

3.4.41

10 months ago

3.3.41

10 months ago

3.3.40

10 months ago

3.3.39

10 months ago

3.3.38

10 months ago

3.3.37

10 months ago

2.3.37

10 months ago

2.3.36

10 months ago

1.3.36

10 months ago

1.3.35

10 months ago

1.3.34

11 months ago

1.3.33

11 months ago

1.2.33

11 months ago

1.2.32

11 months ago

1.2.31

11 months ago

1.2.30

11 months ago

1.2.29

11 months ago

1.2.28

11 months ago

1.2.27

11 months ago

1.2.26

11 months ago

1.2.25

11 months ago

1.2.24

11 months ago

1.2.23

11 months ago

1.2.22

11 months ago

1.2.21

11 months ago

1.2.20

11 months ago

1.2.19

11 months ago

1.1.19

11 months ago

1.1.18

11 months ago

1.1.17

11 months ago

1.1.16

11 months ago

1.1.15

11 months ago

1.1.14

11 months ago

1.1.13

11 months ago

1.1.12

11 months ago

1.1.11

11 months ago

1.1.10

11 months ago

1.1.9

11 months ago

1.1.8

11 months ago

1.1.7

11 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago