File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717
1818Memer API is a powerful module that allows you to manipulate images very easily.
1919
20-
2120## ** Installation**
2221```
2322npm install memer-api
@@ -28,7 +27,7 @@ const memer = new Meme();
2827memer.< Method> (< Options> ); // returns -> Promise -> <Buffer>
2928```
3029
31- ** Join our [ Discord Server] ( https://discord.gg/pe3V7uT ) for Support**
30+ ** Join our [ Discord Server] ( https://discord.gg/emD44ZJaSA ) for Support**
3231
3332
3433** For more help view [ Documentation ] ( https://memer-api.js.org ) **
@@ -63,7 +62,7 @@ memer.jail(avatar).then(jail=> {
6362
6463[ WRAPPER BASED FROM SNOWFLAKES API WRAPPER] ( https://github.com/DevSnowflake/dankmemer.js#readme )
6564
66- Made by: [ @shinchanOP ] ( https://github.com/shinchanOP ) ,
65+ Made by: [ @shinchanOP ] ( https://github.com/shinchanOP ) ,
6766Maintained by: [ @Tomato6966 ] ( https://github.com/Tomato6966 ) & [ @shinchanOP ] ( https://github.com/shinchanOP )
6867
6968## PREVIEWS
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -41,6 +41,42 @@ var Meme = /** @class */ (function () {
4141 } ) ;
4242 } ) ;
4343 } ;
44+ /**
45+ * vr
46+ * @param {String } avatar url to generate meme
47+ */
48+ Meme . prototype . vr = function ( text ) {
49+ if ( ! text )
50+ throw new SyntaxError ( "You are Missing the AVATAR" ) ;
51+ return new Promise ( function ( resolve , reject ) {
52+ fetch . get ( encodeURI ( base + "/vr?text=" + text ) ) . then ( function ( data ) {
53+ //send data back
54+ resolve ( data . raw ) ;
55+ return ;
56+ } ) [ "catch" ] ( function ( error ) {
57+ //if error reject the error
58+ reject ( error ) ;
59+ } ) ;
60+ } ) ;
61+ } ;
62+ /**
63+ * search
64+ * @param {String } avatar url to generate meme
65+ */
66+ Meme . prototype . search = function ( text ) {
67+ if ( ! text )
68+ throw new SyntaxError ( "You are Missing the AVATAR" ) ;
69+ return new Promise ( function ( resolve , reject ) {
70+ fetch . get ( encodeURI ( base + "/isearch?text=" + text ) ) . then ( function ( data ) {
71+ //send data back
72+ resolve ( data . raw ) ;
73+ return ;
74+ } ) [ "catch" ] ( function ( error ) {
75+ //if error reject the error
76+ reject ( error ) ;
77+ } ) ;
78+ } ) ;
79+ } ;
4480 /**
4581 * trash
4682 * @param {String } avatar url to generate meme
Original file line number Diff line number Diff line change 11{
22 "name" : " memer-api" ,
3- "version" : " 2.1.4 " ,
3+ "version" : " 2.2.1 " ,
44 "description" : " An Image Manipulation API With More than 50+ commands" ,
55 "main" : " index.js" ,
66 "scripts" : {
1616 "type" : " git" ,
1717 "url" : " git@github.com:shinchanOP/memer-api.git"
1818 },
19- "homepage" : " https://github.com/Milrato-Development " ,
19+ "homepage" : " https://github.com/Memer-Api " ,
2020 "keywords" : [
2121 " memerapi" ,
2222 " memer-api" ,
You can’t perform that action at this time.
0 commit comments