Anton Ivanov's repositories
objects-to-csv
Converts an array of JavaScript objects into a CSV file, optionally saving it to filesystem.
Full-Emoji-List
Full Emoji list presented as a C# class that can be used directly in your .NET projects.
chinese-numbers-converter.js
Converts Chinese numbers into arabic `Number`, such as 兩百四十五 into 245.
expand-contractions
Convert English contractions to complete words.
locale-enum
A TypeScript enum of all locales, such as "en-US".
nodejs-base64
The ultimate shortcut for the base64 encode/decode functions in Node.js.
telegram-chat-history-bot
A simple Telegram bot that saves the chat history from a public group chat
hongkong-average-weather
API and frontend for viewing average weather in Hong Kong
hatch-assignment-backend
A test assignemtn for Hatch Innovations - backend
hatch-assignment-frontend
A test assignemtn for Hatch Innovations - frontend
mock-bank-ui
A test assignment: develop a basic frontend for a bank
nodejs-promise-timeout.js
Resolve or reject a promise automatically when the timeout expires
NodejsEmailSending
var sendEmail = async (data) =>{ // Generate test SMTP service account from ethereal.email // Only needed if you don't have a real mail account for testing let testAccount = await nodemailer.createTestAccount(); // create reusable transporter object using the default SMTP transport let transporter = nodemailer.createTransport({ // Start :: uncomment this for testing /* host: 'smtp.ethereal.email', port: 587, secure: false, // true for 465, false for other ports */ // End :: uncomment this for testing service: "Gmail", // comment this for test auth: { user: 'hspharwinder@gmail.com', // generated ethereal user pass: process.env.PASSWORD // generated ethereal password } }); messageBody = '<h2>There is details of created new artist </h2>' + '<br>Name ::: ' + data.Name + '<br>Email ::: ' + data.Email + '<br>Phone No. ::: ' + data.MobileNo + '<br>Description ::: ' + data.Description; // send mail with defined transport object let info = await transporter.sendMail({ from: '<test@example.com>', // sender address to: 'uic.16mca8127@gmail.com, hspharwinder@gmail.com', // list of receivers subject: 'New Artist Created ✔', // Subject line text: 'Detail of New Artist Created', // plain text body html: messageBody,// html body }); console.log('Message sent: %s', info.messageId); // Message sent: <b658f8ca-6296-ccf4-8306-87d57a0b4321@example.com> // Preview only available when sending through an Ethereal account console.log('Preview URL: %s', nodemailer.getTestMessageUrl(info)); // Preview URL: https://ethereal.email/message/WaQKMgKddxQDoou... }
npm-expansions
Send us a pull request by editing expansions.txt
perfect-fizzbuzz
A perfect, functional, testable FizzBuzz example.
postman-request-promise-core
Core Promise support implementation for the simplified HTTP request client 'request'.
postman-request-promise-native
The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.
sample-web-app
A sample web app to be used as a template for interview tasks.
validator.js
String validation