Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alkihis/twitter-archive-reader
/ functions
Functions
335 in github.com/alkihis/twitter-archive-reader
⨍
Functions
335
◇
Types & classes
148
↓ 1 callers
Method
initTimezone
()
ts/user/UserData.ts:195
↓ 1 callers
Method
initVerified
()
ts/user/UserData.ts:272
↓ 1 callers
Function
isFile
(val: any)
ts/reading/StreamZip.ts:8
↓ 1 callers
Method
isFile
()
ts/reading/StreamZip.ts:837
↓ 1 callers
Method
loadClassicArchivePart
* Load a part of a classic archive. * * Set current archive as non-gdpr archive.
ts/TwitterArchive.ts:930
↓ 1 callers
Method
ls
(current_dir_only = true)
ts/reading/StreamArchive.ts:436
↓ 1 callers
Method
ltrim
(name: string, left_str: string)
ts/reading/FolderArchive.ts:309
↓ 1 callers
Method
ltrim
(name: string, left_str: string)
ts/reading/StreamArchive.ts:337
↓ 1 callers
Method
month
Extract tweets from a specific month. Months are indexed from 1.
ts/tweets/TweetArchive.ts:110
↓ 1 callers
Method
moveRight
(_: number, shift: number)
ts/reading/StreamZip.ts:954
↓ 1 callers
Method
ofTweet
* Get all the medias related to a tweet.
ts/MediaArchive.ts:165
↓ 1 callers
Method
parseZip64Extra
(data: Buffer, offset: number, length: number)
ts/reading/StreamZip.ts:814
↓ 1 callers
Method
readCallback
(bytesRead: number)
ts/reading/StreamZip.ts:892
↓ 1 callers
Method
readCentralDirectory
()
ts/reading/StreamZip.ts:320
↓ 1 callers
Method
readDataHeader
(data: Buffer)
ts/reading/StreamZip.ts:748
↓ 1 callers
Method
readEntriesCallback
(bytesRead: number)
ts/reading/StreamZip.ts:416
↓ 1 callers
Method
readExtra
(data: Buffer, offset: number)
ts/reading/StreamZip.ts:794
↓ 1 callers
Method
readHeader
(data: Buffer, offset: number)
ts/reading/StreamZip.ts:708
↓ 1 callers
Method
readZip64CentralDirectoryLocator
()
ts/reading/StreamZip.ts:476
↓ 1 callers
Method
refreshEntities
(tweet: PartialTweet, owner: string, difference: number)
ts/tweets/TweetArchive.ts:614
↓ 1 callers
Method
reset
Reset validators. This does NOT work if you have modified the inner initial objects !
ts/tweets/TweetArchive.ts:998
↓ 1 callers
Method
search
(query: RegExp)
ts/reading/FolderArchive.ts:117
↓ 1 callers
Method
search
(query: RegExp)
ts/reading/StreamArchive.ts:138
↓ 1 callers
Method
sideload
(archive: ConstructibleArchives)
ts/MediaArchive.ts:538
↓ 1 callers
Method
single
* Get favorites informations of {tweet_id}. * * If {tweet_id} is not favorited, returns `undefined`.
ts/tweets/FavoriteArchive.ts:40
↓ 1 callers
Function
test_1
()
ts/test/basic_t.ts:24
↓ 1 callers
Function
test_2
()
ts/test/basic_t.ts:116
↓ 1 callers
Function
test_3
()
ts/test/basic_t.ts:135
↓ 1 callers
Function
test_4
()
ts/test/basic_t.ts:168
↓ 1 callers
Function
test_5
()
ts/test/basic_t.ts:178
↓ 1 callers
Function
test_6
()
ts/test/basic_t.ts:208
↓ 1 callers
Function
test_7
()
ts/test/basic_t.ts:236
↓ 1 callers
Method
validateName
()
ts/reading/StreamZip.ts:808
Function
[Symbol.iterator]
Iterates all over the direct messages stored in this conversation.
ts/direct_messages/Conversation.ts:296
Method
[Symbol.iterator]
Iterates all over conversations.
ts/direct_messages/DMArchive.ts:180
Method
[Symbol.iterator]
()
ts/tweets/FavoriteArchive.ts:112
Method
[Symbol.iterator]
()
ts/tweets/TweetArchive.ts:21
Method
[Symbol.iterator]
* Iterate through the tweets
ts/tweets/TweetArchive.ts:448
Method
_read
(n: number)
ts/reading/StreamZip.ts:982
Method
_transform
(data: Buffer, _: string, callback: Function)
ts/reading/StreamZip.ts:1028
Method
account_creation_ip
Owner IP address when he created his account.
ts/user/UserData.ts:425
Method
add
Add a direct message file in current conversation object.
ts/direct_messages/DMArchive.ts:18
Method
add
(favs: GDPRFavorites | PartialFavorite[])
ts/tweets/FavoriteArchive.ts:14
Method
add
* Add tweets to this archive. * This method should not be called by end-programmer. * * Prefer usage of `TwitterArchive.loadClassicArchivePar
ts/tweets/TweetArchive.ts:65
Method
ads
* Informations about which ads archive owner seen or interacted with.
ts/TwitterArchive.ts:745
Method
age
Age information from Twitter. * If Twitter has tried to guess your age, it is in `age.inferred`. * * Age information can be number or a tupl
ts/user/UserData.ts:420
Function
all
All the messages in this conversation
ts/direct_messages/Conversation.ts:322
Method
all
Array of conversations registered in this archive.
ts/direct_messages/DMArchive.ts:140
Method
all
* Get all the registred favorites
ts/tweets/FavoriteArchive.ts:119
Method
archive
()
ts/MediaArchive.ts:471
Function
around
Find context around a single direct message.
ts/direct_messages/Conversation.ts:90
Method
authorized_applications
A list of accepted OAuth application on owner's account. * * This might be incomplete compared to reality, Twitter doesn't seem to include ever
ts/user/UserData.ts:440
Function
between
(since: T, until: T)
ts/direct_messages/Conversation.ts:177
Function
betweenIds
(id1: string, id2: string)
ts/direct_messages/Conversation.ts:201
Method
bio
Archive owner profile biography.
ts/user/UserData.ts:504
Function
blobFileReader
* Read a part of a Blob into a Node.js buffer, * from position to position+length, into Buffer offset to offset+length
ts/reading/StreamZip.ts:23
Method
blocks
* Access to a set of blocked user IDs. * * If `.is_gdpr === false`, this container will be empty.
ts/TwitterArchive.ts:692
Method
bufferToStream
(binary: Buffer)
ts/reading/FolderArchive.ts:176
Method
bufferToStream
(binary: Buffer)
ts/reading/StreamArchive.ts:206
Method
clicked
-------
ts/tweets/TweetArchive.ts:416
Method
clicked_urls
()
ts/tweets/TweetArchive.ts:420
Method
close
()
ts/reading/StreamZip.ts:594
Method
constructor
* Twitter Archive constructor. * * Don't forget to await the archive ready-ness with `.ready()` method ! * * ```ts * // From a local fi
ts/TwitterArchive.ts:166
Method
constructor
(protected archive: ConstructibleArchives)
ts/MediaArchive.ts:37
Method
constructor
(full_archive: ConstructibleArchives | null, dir_name: string | string[])
ts/MediaArchive.ts:427
Method
constructor
* Create a new Conversation instance, from raw GDPR conversation. * Need self user_id to recognize which user is you. * * Note that **.add()*
ts/direct_messages/Conversation.ts:472
Method
constructor
(convs: Conversation[])
ts/direct_messages/Conversation.ts:726
Method
constructor
(messages: LinkedDirectMessage[], me_id: string)
ts/direct_messages/Conversation.ts:758
Method
constructor
(protected me_id: string)
ts/direct_messages/DMArchive.ts:15
Method
constructor
(message: string, public filename: string, public content: string)
ts/utils/Errors.ts:6
Method
constructor
(message: string, public extract: any, public original_stack?: string)
ts/utils/Errors.ts:21
Method
constructor
(message: string, public extract: any, public original_stack?: string)
ts/utils/Errors.ts:35
Method
constructor
(message: string, public extract: any, public original_stack?: string)
ts/utils/Errors.ts:49
Method
constructor
(message: string, public extract: any, public original_stack?: string)
ts/utils/Errors.ts:63
Method
constructor
(message: string, public filename: string)
ts/utils/Errors.ts:74
Method
constructor
(archive: string | FolderArchive)
ts/reading/FolderArchive.ts:25
Method
constructor
( file: T, protected fileReader?: FileReader<T, S>, storeEntries = true, public chunkSize?: nu
ts/reading/StreamZip.ts:236
Method
constructor
( public file: S, public buffer: Buffer, public offset: number, public length: number, pub
ts/reading/StreamZip.ts:869
Method
constructor
(public file: S, public fileReader: FileReader<any, S>)
ts/reading/StreamZip.ts:909
Method
constructor
(public file: S, public offset: number, public length: number, public fileReader: FileReader<any, S>)
ts/reading/StreamZip.ts:978
Method
constructor
(baseStm: EntryDataReaderStream<S>, crc: number, size: number)
ts/reading/StreamZip.ts:1019
Method
constructor
(public crc: number, public size: number)
ts/reading/StreamZip.ts:1047
Method
constructor
(archive: Blob | string | StreamArchive)
ts/reading/StreamArchive.ts:82
Method
constructor
(file: AcceptedZipSources)
ts/reading/StreamArchive.ts:349
Method
conversationOf
* Get the conversation related to a direct message.
ts/direct_messages/DMArchive.ts:71
Method
copyEveryEvent
(events: DirectMessageEventsContainer)
ts/direct_messages/Conversation.ts:513
Method
count
Message count.
ts/direct_messages/DMArchive.ts:145
Method
created_at
Account creation date.
ts/user/UserData.ts:509
Method
dateClickedIterator
* Iterate over clicked links sorted by click timestamp. * * @param order Order by `asc` or `desc`. `desc` by default.
ts/tweets/TweetArchive.ts:493
Function
day
* Get conversation from a specific day (default to current day) * * @param day The day to search in. Can be a `Date` or a `string`-ified date.
ts/direct_messages/Conversation.ts:244
Method
devices
Registred mobile devices that get push notifications, or registred to Twitter's 2FA.
ts/user/UserData.ts:454
Method
dir
(dir_name: string)
ts/reading/FolderArchive.ts:83
Method
dir
(dir_name: string)
ts/reading/StreamArchive.ts:105
Method
directs
Direct (two participants) conversations
ts/direct_messages/DMArchive.ts:135
Method
dirs
()
ts/reading/FolderArchive.ts:297
Method
dirs
()
ts/reading/StreamArchive.ts:326
Method
dms
* Get a conversation who has all messages in it. * * Please note that this method is not recommanded (and time-consuming at initialization).
ts/direct_messages/DMArchive.ts:121
Method
dump
Get all data stored in this instance, in an object loadable by `.loadPart()`
ts/user/UserData.ts:359
Method
email_address
Current owner email address.
ts/user/UserData.ts:472
Method
email_address_history
History of e-mail addresses used on the account.
ts/user/UserData.ts:392
← previous
next →
101–200 of 335, ranked by callers