5.7.84 • Published 1 year ago

@hishprorg/atque-at v5.7.84

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

1 year ago

5.7.83

1 year ago

4.7.83

1 year ago

4.7.82

1 year ago

4.7.81

1 year ago

4.7.80

1 year ago

4.7.79

1 year ago

3.7.79

1 year ago

3.7.78

1 year ago

3.7.77

1 year ago

3.7.76

1 year ago

3.7.75

1 year ago

3.7.74

1 year ago

3.7.73

1 year ago

3.7.72

1 year ago

3.7.71

1 year ago

3.7.70

1 year ago

3.7.69

1 year ago

3.7.68

1 year ago

3.7.67

1 year ago

3.7.66

1 year ago

3.7.65

1 year ago

3.7.64

1 year ago

3.7.63

1 year ago

3.7.62

1 year ago

3.7.61

1 year ago

3.7.60

1 year ago

3.7.59

1 year ago

3.7.58

1 year ago

3.7.57

1 year ago

3.7.56

1 year ago

3.6.56

1 year ago

3.6.55

1 year ago

3.6.54

1 year ago

3.6.53

1 year ago

3.6.52

1 year ago

3.6.51

1 year ago

3.6.50

1 year ago

3.6.49

1 year ago

3.6.48

1 year ago

3.6.47

1 year ago

3.6.46

1 year ago

3.6.45

1 year ago

3.6.44

1 year ago

3.6.43

1 year ago

3.5.43

1 year ago

3.4.43

1 year ago

3.4.42

1 year ago

3.4.41

1 year ago

3.3.41

1 year ago

3.3.40

1 year ago

3.3.39

1 year ago

3.3.38

1 year ago

3.3.37

1 year ago

2.3.37

1 year ago

2.3.36

1 year ago

1.3.36

1 year ago

1.3.35

1 year ago

1.3.34

1 year ago

1.3.33

1 year ago

1.2.33

1 year ago

1.2.32

1 year ago

1.2.31

1 year ago

1.2.30

1 year ago

1.2.29

1 year ago

1.2.28

1 year ago

1.2.27

1 year ago

1.2.26

1 year ago

1.2.25

1 year ago

1.2.24

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago