This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
ac-keijiban with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Sends a random message from the Animal Crossing: Wild World video game on Nintend DS created by Katsuya Eguchi and published in 2005.
The quotes come from three types of board message:
You have to add this module to your NPM project folder.
$ npm install ac-keijiban
// Require with a language (format xx) const acKeijiban = require('ac-keijiban')('en'); // Require with a language (format xx-YY) sets 'en'(format xx) const acKeijiban = require('ac-keijiban')('en-US') // Require without an argument sets 'en' const acKeijiban = require('ac-keijiban')();
console.log('*Message of the Week*'); console.log(acKeijiban.messageOfTheWeek.random());
console.log('-Talking to Myself-'); console.log(acKeijiban.talkingToMyself.random());
For the moment, the only language avaible is English. The French messages are being collected directly from Animal Crossing: Wild World on Nintendo DS.
Obviously, you are free to participate to the translation in French or in any other language.