NodeMessage
This library allows you to query and chain commands to your local iMessage database. All functions return promises.
Install
npm install nodemessage
Setup
const imessage = const m =
Messages
// Get all messagesm // Get messages with keywordm // Get messages from recipient IDm // Get messages from recipient with specific keyword textm
Recipients
// get all contact recipientsm // Get recipients with handle "shelley"m // Get recipient with ID 1m // Get recipient with ID 1 and all of their messagesm
Top Contacts
// get top 10 contacts from last 30 days and related infom
Attachments
// Get all attachmentsm // Get attachments from recipient with ID 1m
Example
const imessage = const m = m m