npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@devtea2025/ipsam-architecto-maxime-commodi

v1.0.0

Published

Downloads

4

Maintainers

tranvuchinh5538tranvuchinh5538

Keywords

monorepopositiveES8parsingtypesafelimitedregular expressionscliES6findLastIndexsyntaxmobilebundlingmochabufferscreatesigintnodejsboundmake dirdeepsetImmediateansitakewhichSymbol.toStringTagargparseenvironmentemitES7parser__proto__functionalargswritetddtrimEndtrimterminalcloudformationtyped arrayBigUint64ArrayECMAScript 3charactersdependenciesmergediffduplexjsexecutablees2015protobuflanguagepropertiesWeakMapESgetsomehttprmdirnopeObject.fromEntriesshimmakepackageproxyassertsyup[[Prototype]]handlersawaitjoisignalslockfileserializefind-upmixinsintrinsicmatchesrapidqueueMicrotasktermgetPrototypeOfdom-testing-librarytostringtagkorean-0URLSearchParamsreadablestreamless mixinsarktypeauthconsumeserializationargveventDispatchergrouptrimLeftuninstallprivate dataECMAScript 7privategetOwnPropertyDescriptorloadbalancingoptimisttypereact-hook-formjwtratelimitWeakSetencryptionlinkJSON-SchemaregularjshinttypedarrayconcatMapcss-in-jscurlstylesheetcommandtapagentfindupstringifysidebeanstalkfastpromiseimportcolorsJSONUnderscorecallbackoptimizer0Objectvalides-shim APIemojihas-ownFloat32ArraykinesisString.prototype.trimWebSocketsfindLastvariablesdirectorynpmbrowsererror-handlinglesstoSortedArray.prototype.findLastpostcssoncekeysymbolargumentECMAScript 2021wrapcodesformattinggradients css3idvaluemoduleses2018limitaccessibilitystringrequireroute53mkdirpthrottlecallbindcmddataviewoutputmomentRxJScloudsearchhashECMAScript 2020testernamesminimallintstreamsuperstructvarsPromiseartconfigregular expressionplugincolorenumerablees2016awsstructuredClonelinuxECMAScript 2019irqArray.prototype.flatMapeslintconfigdescriptorsdotenvtelephoneassertiontoobjectlaunchfast-cloneprocessstringifierqueuefromcjkECMAScript 2016rfc4122CSSdependency managerxdg-openreact-testing-librarycolumnmruES2015lazyhardlinksconnectgdprpreprocessorES2023StyleSheetequalitycharacterRegExp#flagselectronstatelessnegative zerobootstrap cssweaksetmkdirrm -frpostcss-pluginfolderschemaObservablesclassnameapiopensastjasmineweakmapless cssexewidtheventscompareUint32Arraybdddefaultcode pointsbrowserslistpasswordshellinspectcss nestingrestfulcommanderwordbreakvaluesclonebusystableidleObject.getPrototypeOfwritablepreserve-symlinkselmbuffermoveString.prototype.matchAllhookspackagesTypeBoxec2parentrequestnumberdropinputstarterTypedArrayownarraybyteLengthimmerrdspromisesinferencestyleguideinstallerdescriptiones-abstractrestkarmaparsesameValueZeromimephonehelperswatcheramazonECMAScript 2015linewraptoArrayinternalbrowserlistwhatwgflatuuidRxfastclonefast-copyfullsorted@@toStringTagstatuserrorArray.prototype.flattenless.jsendpointwafelasticachestylessignaljQuerywindowsshebangincludesglacierhigher-ordersorthasOwnfpsArraygradients cssES2021polyfillsyntaxerrorInt16Array.envmimetypesopenerindicatorstreams2BigInt64Arrayes8hasappArrayBuffer.prototype.slicedefinePropertyjsdiffestreeInt32ArraysqscallArray.prototype.filtercommand-linearrayslookObject.definePropertyshrinkwraplrupersistentmiddlewareutilitiesclassesFunction.prototype.namestyleescapeES5globalsajvcompilercloudtrailvalidateprogressupa11yparentsfastcopyInt8Arraysimpledbredactworkerdescriptorfull-widthasciiasyncReactiveXstoragegatewayspeedtc39replayURLRFC-6455propertyPushpatchextensionwalkprotoistoolsclassnamesflagscircularcollection.es6CSSStyleDeclarationwebinternal slotprunexhrtypedarraysdefinetrimStartwatchSymbolfseventsECMAScript 2018offsetTypeScriptsuperagentvariables in cssremovekeysrgbarraybuffercryptdeep-clonewaitdatemapaccessorcall-boundlogsinatrapredictablereal-timereducerprefixchromiumUint8ArraychildECMAScript 5timeeventEmittertypeofajaxcomputed-typesextendexpressionloggerresolveidentifiersieopenspinnersreusepushflattenthroatsnsdeepcopyformatbyteOffsetobjectfast-deep-clonesettingsstyled-componentsES2017unicodebatchchrometoolkiteslintpluginlastglobalconsolecolumnslook-upformzod

Readme

base64 (npm @devtea2025/ipsam-architecto-maxime-commodi)

Build Status Coverage Status

Disclaimer: For node versions < 4 use the 1.2.0 version.

This modules can be used to encoding & decoding messages (strings) and files using base64.

I'm trying to add new features based on other packages to get an all in one npm module. Actually @devtea2025/ipsam-architecto-maxime-commodi can encode and decode: strings, files and strings with XOR encrytion.

nodei.co

Why use this module?

It's minimalist and focused in the best javascript performance.

Install @devtea2025/ipsam-architecto-maxime-commodi module

At cmd, type:

$ npm install @devtea2025/ipsam-architecto-maxime-commodi

or to install this package globally, use:

$ npm install -g @devtea2025/ipsam-architecto-maxime-commodi

After install run unit tests

$ cd ./node_modules/@devtea2025/ipsam-architecto-maxime-commodi/
$ npm install
$ npm test

Do you want a test report?

$ cd ./node_modules/@devtea2025/ipsam-architecto-maxime-commodi/
$ npm install
$ npm test  --coverage

How to use?

To load module functionalities, you must use the require.js properties integrated in node.js.

Example:

var base64 = require('@devtea2025/ipsam-architecto-maxime-commodi');

DOCS

encode (str)

This method is used to encode a plain-text string to a encoded string in base64.

  • Arguments :
  • str - The string you want to encode.
  • type - Encoding Type (This argument is optional) | Available types: 'MIME'.
  • Result : Encoded string in base64.
  • Example :
base64.encode('@devtea2025/ipsam-architecto-maxime-commodi npm module'); // result = YmFzZTY0LW1pbiBucG0gbW9kdWxl
base64.encode('@devtea2025/ipsam-architecto-maxime-commodi npm module', 'MIME'); // result = YmFzZTY0LW1pbiBucG0gbW9kdWxl
                                                 // encoded string in base64, using MIME constraints
decode (str)

This method is used to decode a the base64 message to a plain-text string.

  • Arguments :
  • str - The message (in base64) you want to decode.
  • Result : Our message decoded in plain-text.
  • Example :
base64.decode('YmFzZTY0LW1pbiBucG0gbW9kdWxl'); // result = @devtea2025/ipsam-architecto-maxime-commodi npm module
encodeFile(file)

This method is used to encode files into base64 string.

  • Arguments :
  • file - The file path of the you want to encode.
  • Result : Encoded File into a string in base64.
  • Example :
base64.encodeFile('original.png');
decodeToFile(str,filepath)

This method is used to decode messages and save the result in one file (Tested and functional with PNG Files).

  • Arguments :
  • str - The message (in base64) you want to decode.
  • file - The file path of the you want to save.
  • Result : Decoded File
  • Example :
base64.decodeToFile('ZGF0YQ==', 'result.png') ;
encodeWithKey(str,key)

This method is used to encode messages and encrypt messages using a key (XOR Encryption - Fast and "Secure").

  • Arguments :
  • str - The message in plain-text.
  • key - The key you want to encrypt your message.
  • Result : Encoded encrypted message in base64.
  • Example :
base64.encodeWithKey('@devtea2025/ipsam-architecto-maxime-commodi npm module', 'victorfern91'); // result = FAgQEVlGSwgbABlfBgRDGQAWEwkX
                                                               //(in plain text is YFK_C	)
decodeWithKey(str,key)
  • Arguments :
  • str - The message in base64.
  • key - The key used to encrypt this message.
  • Result : Deciphered message in plain-text.
  • Example :
//Decoding with wrong key
base64.decodeWithKey('FAgQEVlGSwgbABlfBgRDGQAWEwkX', 'npm module'); // result = zx}14)/}wew/k$.vdcly
//Decoding with correct key
base64.decodeWithKey('FAgQEVlGSwgbABlfBgRDGQAWEwkX', 'victorfern91'); // result = @devtea2025/ipsam-architecto-maxime-commodi npm module