5.7.84 • Published 2 years ago

@hishprorg/atque-at v5.7.84

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

5.7.83

2 years ago

4.7.83

2 years ago

4.7.82

2 years ago

4.7.81

2 years ago

4.7.80

2 years ago

4.7.79

2 years ago

3.7.79

2 years ago

3.7.78

2 years ago

3.7.77

2 years ago

3.7.76

2 years ago

3.7.75

2 years ago

3.7.74

2 years ago

3.7.73

2 years ago

3.7.72

2 years ago

3.7.71

2 years ago

3.7.70

2 years ago

3.7.69

2 years ago

3.7.68

2 years ago

3.7.67

2 years ago

3.7.66

2 years ago

3.7.65

2 years ago

3.7.64

2 years ago

3.7.63

2 years ago

3.7.62

2 years ago

3.7.61

2 years ago

3.7.60

2 years ago

3.7.59

2 years ago

3.7.58

2 years ago

3.7.57

2 years ago

3.7.56

2 years ago

3.6.56

2 years ago

3.6.55

2 years ago

3.6.54

2 years ago

3.6.53

2 years ago

3.6.52

2 years ago

3.6.51

2 years ago

3.6.50

2 years ago

3.6.49

2 years ago

3.6.48

2 years ago

3.6.47

2 years ago

3.6.46

2 years ago

3.6.45

2 years ago

3.6.44

2 years ago

3.6.43

2 years ago

3.5.43

2 years ago

3.4.43

2 years ago

3.4.42

2 years ago

3.4.41

2 years ago

3.3.41

2 years ago

3.3.40

2 years ago

3.3.39

2 years ago

3.3.38

2 years ago

3.3.37

2 years ago

2.3.37

2 years ago

2.3.36

2 years ago

1.3.36

2 years ago

1.3.35

2 years ago

1.3.34

2 years ago

1.3.33

2 years ago

1.2.33

2 years ago

1.2.32

2 years ago

1.2.31

2 years ago

1.2.30

2 years ago

1.2.29

2 years ago

1.2.28

2 years ago

1.2.27

2 years ago

1.2.26

2 years ago

1.2.25

2 years ago

1.2.24

2 years ago

1.2.23

2 years ago

1.2.22

2 years ago

1.2.21

2 years ago

1.2.20

2 years ago

1.2.19

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago